Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 239 MB, free: 4.727 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 196.4 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4381/0.4381, allocations: 78.53 MB / 417.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 497 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 68.16 MB / 0.552 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.1882/0.3063, allocations: 6.126 MB / 0.5579 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.3095, allocations: 1.786 MB / 0.5597 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.3106, allocations: 14.62 kB / 0.5597 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3112, allocations: 159.2 kB / 0.5599 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.3128, allocations: 0.5963 MB / 0.5604 GB, free: 35.66 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3139, allocations: 0.5317 MB / 0.561 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.315, allocations: 1.248 MB / 0.5622 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.3153, allocations: 273.6 kB / 0.5624 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.3158, allocations: 0.5289 MB / 0.563 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.3163, allocations: 0.6389 MB / 0.5636 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.3164, allocations: 94.41 kB / 0.5637 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3167, allocations: 220.7 kB / 0.5639 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.3169, allocations: 240.5 kB / 0.5641 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.3172, allocations: 0.5449 MB / 0.5646 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.3182, allocations: 1.354 MB / 0.566 GB, free: 34.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3182, allocations: 1.531 kB / 0.566 GB, free: 34.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3182, allocations: 2.781 kB / 0.566 GB, free: 34.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3182, allocations: 0 / 0.566 GB, free: 34.63 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006713/0.3249, allocations: 2.347 MB / 0.5683 GB, free: 33.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.325, allocations: 13.22 kB / 0.5683 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.3251, allocations: 114.4 kB / 0.5684 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.3297, allocations: 0.7576 MB / 0.5691 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.3306, allocations: 0.7056 MB / 0.5698 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.3308, allocations: 251.3 kB / 0.57 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3309, allocations: 71.44 kB / 0.5701 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.3326, allocations: 0.9605 MB / 0.5711 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3327, allocations: 0.6875 kB / 0.5711 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.3328, allocations: 29.72 kB / 0.5711 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3328, allocations: 18.12 kB / 0.5711 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.3345, allocations: 0.9745 MB / 0.5721 GB, free: 33.07 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.3388, allocations: 3.181 MB / 0.5752 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3404, allocations: 1.311 MB / 0.5764 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3415, allocations: 0.7041 MB / 0.5771 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.825e-05/0.3416, allocations: 18.5 kB / 0.5771 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.3417, allocations: 42.75 kB / 0.5772 GB, free: 31.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.3417, allocations: 0 / 0.5772 GB, free: 31.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0235/0.3652, allocations: 6.48 MB / 0.5835 GB, free: 30.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3653, allocations: 68.45 kB / 0.5836 GB, free: 29.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3663, allocations: 0.7867 MB / 0.5843 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.3665, allocations: 37.45 kB / 0.5844 GB, free: 29.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.3667, allocations: 437.9 kB / 0.5848 GB, free: 29.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.367, allocations: 297 kB / 0.5851 GB, free: 29.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.3673, allocations: 185.6 kB / 0.5853 GB, free: 28.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3674, allocations: 348.2 kB / 0.5856 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.3687, allocations: 0.6647 MB / 0.5862 GB, free: 28.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.3701, allocations: 0.7768 MB / 0.587 GB, free: 28.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01709/0.3872, allocations: 4.541 MB / 0.5914 GB, free: 26.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3872, allocations: 0 / 0.5914 GB, free: 26.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01275/0.4, allocations: 4.078 MB / 0.5954 GB, free: 25.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4, allocations: 8.812 kB / 0.5954 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4001, allocations: 3.094 kB / 0.5954 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005762/0.4058, allocations: 1.744 MB / 0.5971 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.4068, allocations: 185.1 kB / 0.5973 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.4272, allocations: 9.05 MB / 0.6061 GB, free: 21.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4285, allocations: 154.3 kB / 0.6063 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.4287, allocations: 39.73 kB / 0.6063 GB, free: 21.07 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.4292, allocations: 227.7 kB / 0.6065 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.4295, allocations: 104.6 kB / 0.6066 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.441, allocations: 3.818 MB / 0.6104 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.441, allocations: 14.06 kB / 0.6104 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.441, allocations: 0 / 0.6104 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.441, allocations: 3.984 kB / 0.6104 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.4537, allocations: 5.379 MB / 0.6156 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4537, allocations: 0 / 0.6156 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.4543, allocations: 91.88 kB / 0.6157 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005011/0.4593, allocations: 1.743 MB / 0.6174 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4594, allocations: 17 kB / 0.6175 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/0.4752, allocations: 8.062 MB / 0.6253 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4752, allocations: 4 kB / 0.6253 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.4878, allocations: 4.744 MB / 0.63 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.4882, allocations: 187.6 kB / 0.6301 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.4885, allocations: 16 kB / 0.6302 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.4895, allocations: 87.89 kB / 0.6302 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000651/0.4902, allocations: 212.6 kB / 0.6304 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.4903, allocations: 16 kB / 0.6305 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.491, allocations: 0.5322 MB / 0.631 GB, free: 13.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.491, allocations: 0 / 0.631 GB, free: 13.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001364/0.4924, allocations: 407.5 kB / 0.6314 GB, free: 13.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/0.507, allocations: 5.321 MB / 0.6366 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00697/0.514, allocations: 2.331 MB / 0.6388 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.514, allocations: 4.062 kB / 0.6388 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.5185, allocations: 1.507 MB / 0.6403 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5196, allocations: 76.14 kB / 0.6404 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.556, allocations: 14.95 MB / 0.655 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.5567, allocations: 1.029 MB / 0.656 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000423/0.5572, allocations: 80.52 kB / 0.6561 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/0.5578, allocations: 379.3 kB / 0.6564 GB, free: 3.391 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5578, allocations: 0 / 0.6564 GB, free: 3.391 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/0.6096, allocations: 29.49 MB / 0.6852 GB, free: 6.242 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.6098, allocations: 209.8 kB / 0.6854 GB, free: 5.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.093, allocations: 0 / 0.6854 GB, free: 5.988 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)