Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07613/0.07613, allocations: 12.6 MB / 28.9 MB, free: 0.6328 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 111.5 kB / 32.51 MB, free: 3.566 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 192.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3851/0.3851, allocations: 78.5 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 139.3 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.0975, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005499/0.103, allocations: 5.792 MB / 0.6287 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1057, allocations: 1.713 MB / 0.6304 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.106, allocations: 15.94 kB / 0.6304 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.1064, allocations: 202.3 kB / 0.6306 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.1077, allocations: 0.6839 MB / 0.6313 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009741/0.1087, allocations: 0.5531 MB / 0.6318 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1097, allocations: 1.257 MB / 0.633 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.1101, allocations: 271.2 kB / 0.6333 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.1106, allocations: 0.5212 MB / 0.6338 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.1112, allocations: 0.6378 MB / 0.6344 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1113, allocations: 91.94 kB / 0.6345 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1117, allocations: 219.9 kB / 0.6347 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1119, allocations: 246.9 kB / 0.6349 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.1123, allocations: 0.5475 MB / 0.6355 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1134, allocations: 1.351 MB / 0.6368 GB, free: 1.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1134, allocations: 0 / 0.6368 GB, free: 1.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1134, allocations: 0 / 0.6368 GB, free: 1.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.1134, allocations: 4 kB / 0.6368 GB, free: 1.262 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006801/0.1203, allocations: 2.349 MB / 0.6391 GB, free: 14.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1203, allocations: 11.98 kB / 0.6391 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.1249, allocations: 0.7556 MB / 0.6399 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.126, allocations: 0.7166 MB / 0.6406 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.1263, allocations: 256.2 kB / 0.6408 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.1265, allocations: 68 kB / 0.6409 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.1284, allocations: 0.9598 MB / 0.6418 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1284, allocations: 7.938 kB / 0.6418 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.1285, allocations: 24 kB / 0.6418 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1285, allocations: 16 kB / 0.6418 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.1305, allocations: 0.976 MB / 0.6428 GB, free: 10.98 MB / 462.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.005022/0.1355, allocations: 3.147 MB / 0.6459 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1375, allocations: 1.316 MB / 0.6472 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.1388, allocations: 0.6999 MB / 0.6478 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/0.1389, allocations: 12.64 kB / 0.6478 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1389, allocations: 43.22 kB / 0.6479 GB, free: 5.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/0.1389, allocations: 0 / 0.6479 GB, free: 5.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02543/0.1644, allocations: 6.767 MB / 0.6545 GB, free: 14.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1644, allocations: 60.06 kB / 0.6546 GB, free: 14.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1655, allocations: 0.8024 MB / 0.6553 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.1656, allocations: 41.7 kB / 0.6554 GB, free: 13.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.1659, allocations: 432.4 kB / 0.6558 GB, free: 13.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.1662, allocations: 295.8 kB / 0.6561 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.1666, allocations: 174.9 kB / 0.6562 GB, free: 12.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1667, allocations: 353.9 kB / 0.6566 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.1681, allocations: 0.6467 MB / 0.6572 GB, free: 11.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.1695, allocations: 0.7756 MB / 0.658 GB, free: 11.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/0.1861, allocations: 4.492 MB / 0.6624 GB, free: 6.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1861, allocations: 3.938 kB / 0.6624 GB, free: 6.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01276/0.1989, allocations: 4.125 MB / 0.6664 GB, free: 2.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1989, allocations: 8 kB / 0.6664 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.199, allocations: 0 / 0.6664 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005926/0.2049, allocations: 1.788 MB / 0.6681 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2057, allocations: 167.8 kB / 0.6683 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.2269, allocations: 9.31 MB / 0.6774 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.2281, allocations: 151 kB / 0.6775 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.2283, allocations: 35.98 kB / 0.6776 GB, free: 6.746 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004382/0.2287, allocations: 225.7 kB / 0.6778 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.229, allocations: 98.78 kB / 0.6779 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.2411, allocations: 3.836 MB / 0.6816 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2411, allocations: 11.94 kB / 0.6816 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2411, allocations: 11.92 kB / 0.6816 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.2411, allocations: 3.984 kB / 0.6817 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.2554, allocations: 5.341 MB / 0.6869 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.2555, allocations: 0 / 0.6869 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.256, allocations: 91.88 kB / 0.687 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.2618, allocations: 1.749 MB / 0.6887 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.262, allocations: 12 kB / 0.6887 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.2797, allocations: 8.064 MB / 0.6966 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2797, allocations: 3.938 kB / 0.6966 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.2934, allocations: 4.72 MB / 0.7012 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.2937, allocations: 179.7 kB / 0.7013 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.2938, allocations: 16 kB / 0.7014 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.2947, allocations: 95.89 kB / 0.7014 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/0.2953, allocations: 196.8 kB / 0.7016 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.2953, allocations: 23.98 kB / 0.7017 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006311/0.296, allocations: 0.5343 MB / 0.7022 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.296, allocations: 0 / 0.7022 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001009/0.297, allocations: 403.6 kB / 0.7026 GB, free: 12.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002306/0.2972, allocations: 135.4 kB / 0.7027 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005999/0.3033, allocations: 2.326 MB / 0.705 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3033, allocations: 0 / 0.705 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004251/0.3075, allocations: 1.515 MB / 0.7064 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3081, allocations: 84.05 kB / 0.7065 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.311, allocations: 1.756 MB / 0.7082 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.3115, allocations: 1.041 MB / 0.7093 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.3118, allocations: 63.42 kB / 0.7093 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of SimCode: time 4.9e-07/0.3118, allocations: 0 / 0.7093 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.2294/0.5411, allocations: 17.75 MB / 0.7266 GB, free: 83.11 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)