Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08097/0.08097, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.0009119/0.0009119, allocations: 107.4 kB / 31.83 MB, free: 3.879 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.322/1.322, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001296/0.001296, allocations: 188.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4189/0.4189, allocations: 78.5 MB / 419.3 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.002546/0.002547, allocations: 138.5 kB / 0.5559 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006672/0.1322, allocations: 6.418 MB / 0.6287 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.1356, allocations: 1.822 MB / 0.6304 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.1361, allocations: 12 kB / 0.6305 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.1366, allocations: 222 kB / 0.6307 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.1383, allocations: 0.7646 MB / 0.6314 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1396, allocations: 0.5998 MB / 0.632 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1411, allocations: 1.402 MB / 0.6334 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.1416, allocations: 328.2 kB / 0.6337 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.1423, allocations: 0.5874 MB / 0.6343 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.1431, allocations: 0.731 MB / 0.635 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1432, allocations: 100 kB / 0.6351 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.1436, allocations: 239.8 kB / 0.6353 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.1439, allocations: 274.8 kB / 0.6356 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.1444, allocations: 0.6135 MB / 0.6362 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.146, allocations: 1.513 MB / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.146, allocations: 0 / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.146, allocations: 4 kB / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.146, allocations: 0 / 0.6376 GB, free: 15.75 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007963/0.154, allocations: 2.574 MB / 0.6402 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1541, allocations: 15.98 kB / 0.6402 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.1591, allocations: 0.7873 MB / 0.6409 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1606, allocations: 0.781 MB / 0.6417 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.1609, allocations: 252.2 kB / 0.6419 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.161, allocations: 80 kB / 0.642 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.1634, allocations: 1.073 MB / 0.6431 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.1635, allocations: 7.875 kB / 0.6431 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1636, allocations: 32 kB / 0.6431 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1636, allocations: 16 kB / 0.6431 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.1665, allocations: 1.12 MB / 0.6442 GB, free: 8.855 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.006764/0.1733, allocations: 3.417 MB / 0.6475 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1755, allocations: 1.416 MB / 0.6489 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.1772, allocations: 0.7774 MB / 0.6497 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.1773, allocations: 17 kB / 0.6497 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1774, allocations: 43.55 kB / 0.6497 GB, free: 2.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 5.491e-06/0.1774, allocations: 3.984 kB / 0.6498 GB, free: 2.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.0252/0.2026, allocations: 6.751 MB / 0.6563 GB, free: 12.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2027, allocations: 68.39 kB / 0.6564 GB, free: 12.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2038, allocations: 0.8839 MB / 0.6573 GB, free: 11.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.204, allocations: 45.7 kB / 0.6573 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.2043, allocations: 0.4973 MB / 0.6578 GB, free: 10.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.2047, allocations: 352.9 kB / 0.6581 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.2051, allocations: 198.9 kB / 0.6583 GB, free: 10.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2052, allocations: 345.9 kB / 0.6587 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2069, allocations: 0.7131 MB / 0.6594 GB, free: 8.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.2086, allocations: 0.8384 MB / 0.6602 GB, free: 8.109 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01816/0.2268, allocations: 4.787 MB / 0.6648 GB, free: 3.285 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.2268, allocations: 0 / 0.6648 GB, free: 3.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01362/0.2405, allocations: 4.262 MB / 0.669 GB, free: 15.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.2406, allocations: 8 kB / 0.669 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2406, allocations: 0 / 0.669 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.2467, allocations: 1.863 MB / 0.6708 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2478, allocations: 211.7 kB / 0.671 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.2687, allocations: 9.091 MB / 0.6799 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.2702, allocations: 171.3 kB / 0.6801 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.2703, allocations: 39.98 kB / 0.6801 GB, free: 3.477 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004644/0.2708, allocations: 249.5 kB / 0.6804 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.271, allocations: 123.2 kB / 0.6805 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/0.2838, allocations: 4.01 MB / 0.6844 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.2839, allocations: 8 kB / 0.6844 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2839, allocations: 3.938 kB / 0.6844 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.2839, allocations: 7.969 kB / 0.6844 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.2988, allocations: 5.629 MB / 0.6899 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.2989, allocations: 0 / 0.6899 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.2997, allocations: 127.9 kB / 0.69 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/0.306, allocations: 1.737 MB / 0.6917 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.3063, allocations: 19.98 kB / 0.6917 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.3248, allocations: 8.069 MB / 0.6996 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3249, allocations: 0 / 0.6996 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.3401, allocations: 4.972 MB / 0.7045 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.3407, allocations: 212.1 kB / 0.7047 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.3409, allocations: 16 kB / 0.7047 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3419, allocations: 111.9 kB / 0.7048 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008076/0.3427, allocations: 216.5 kB / 0.705 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.3428, allocations: 31.94 kB / 0.705 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007768/0.3436, allocations: 0.5887 MB / 0.7056 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3436, allocations: 0 / 0.7056 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00127/0.3449, allocations: 435.6 kB / 0.706 GB, free: 8.566 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002675/0.3452, allocations: 139 kB / 0.7062 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006854/0.352, allocations: 2.48 MB / 0.7086 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3521, allocations: 4.562 kB / 0.7086 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/0.357, allocations: 1.604 MB / 0.7102 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.3579, allocations: 85.89 kB / 0.7102 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.3619, allocations: 1.961 MB / 0.7121 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.3627, allocations: 1.088 MB / 0.7132 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003847/0.3631, allocations: 82.69 kB / 0.7133 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.3633, allocations: 67.42 kB / 0.7134 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.3634, allocations: 4 kB / 0.7134 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of Templates: time 0.3256/0.689, allocations: 23.59 MB / 0.7364 GB, free: 78.88 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)