Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 183.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 221.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 91.67 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07352/0.07352, allocations: 12.58 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2968/0.2968, allocations: 78.52 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 106 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 68.12 MB / 0.592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006882/0.1402, allocations: 6.819 MB / 0.5986 GB, free: 8.801 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.1437, allocations: 1.877 MB / 0.6005 GB, free: 6.918 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.1443, allocations: 12 kB / 0.6005 GB, free: 6.906 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.1447, allocations: 178.8 kB / 0.6006 GB, free: 6.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.1462, allocations: 0.6406 MB / 0.6013 GB, free: 6.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1474, allocations: 0.5649 MB / 0.6018 GB, free: 5.535 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.1488, allocations: 1.37 MB / 0.6032 GB, free: 4.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1492, allocations: 301.5 kB / 0.6034 GB, free: 3.852 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.1498, allocations: 0.5481 MB / 0.604 GB, free: 3.301 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.1505, allocations: 0.7036 MB / 0.6047 GB, free: 2.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.1507, allocations: 68 kB / 0.6047 GB, free: 2.527 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1511, allocations: 191.9 kB / 0.6049 GB, free: 2.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.1513, allocations: 250.7 kB / 0.6052 GB, free: 2.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.1517, allocations: 0.5861 MB / 0.6057 GB, free: 1.504 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1529, allocations: 1.459 MB / 0.6072 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1529, allocations: 0 / 0.6072 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1529, allocations: 4 kB / 0.6072 GB, free: 36 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.153, allocations: 0 / 0.6072 GB, free: 36 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007634/0.1606, allocations: 2.56 MB / 0.6097 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1607, allocations: 15.92 kB / 0.6097 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.1653, allocations: 0.7865 MB / 0.6104 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1666, allocations: 0.7686 MB / 0.6112 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.1669, allocations: 252.2 kB / 0.6114 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.167, allocations: 80 kB / 0.6115 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1692, allocations: 1.081 MB / 0.6126 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1692, allocations: 3.938 kB / 0.6126 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.1693, allocations: 28 kB / 0.6126 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.1694, allocations: 23.94 kB / 0.6126 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.1718, allocations: 1.124 MB / 0.6137 GB, free: 9.164 MB / 410.7 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.005709/0.1775, allocations: 3.456 MB / 0.6171 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.1797, allocations: 1.419 MB / 0.6185 GB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.1813, allocations: 0.7852 MB / 0.6192 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1814, allocations: 20.97 kB / 0.6193 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1815, allocations: 51.48 kB / 0.6193 GB, free: 3.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.996e-06/0.1815, allocations: 0 / 0.6193 GB, free: 3.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.02662/0.2081, allocations: 6.602 MB / 0.6258 GB, free: 12.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2082, allocations: 64.34 kB / 0.6258 GB, free: 12.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.2096, allocations: 0.9002 MB / 0.6267 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.2099, allocations: 45.7 kB / 0.6267 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.2104, allocations: 0.4889 MB / 0.6272 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/0.2109, allocations: 339.1 kB / 0.6275 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005014/0.2114, allocations: 206.8 kB / 0.6277 GB, free: 10.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2115, allocations: 341.9 kB / 0.6281 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.2133, allocations: 0.7287 MB / 0.6288 GB, free: 9.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.2152, allocations: 0.8501 MB / 0.6296 GB, free: 8.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/0.2345, allocations: 4.821 MB / 0.6343 GB, free: 3.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.2345, allocations: 4 kB / 0.6343 GB, free: 3.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.2794/0.5139, allocations: 4.264 MB / 0.6385 GB, free: 49.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.514, allocations: 9.125 kB / 0.6385 GB, free: 49.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5141, allocations: 5.625 kB / 0.6385 GB, free: 49.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006925/0.521, allocations: 1.81 MB / 0.6403 GB, free: 49.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5222, allocations: 214.5 kB / 0.6405 GB, free: 49.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/0.5451, allocations: 8.569 MB / 0.6488 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5469, allocations: 177.3 kB / 0.649 GB, free: 45.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.547, allocations: 39.61 kB / 0.649 GB, free: 45.53 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0004802/0.5475, allocations: 243.4 kB / 0.6493 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.5477, allocations: 123.9 kB / 0.6494 GB, free: 45.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.5617, allocations: 4.012 MB / 0.6533 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.5618, allocations: 13.59 kB / 0.6533 GB, free: 44.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5618, allocations: 1.844 kB / 0.6533 GB, free: 44.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.5618, allocations: 7.312 kB / 0.6533 GB, free: 44.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.5769, allocations: 5.626 MB / 0.6588 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.577, allocations: 0 / 0.6588 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008188/0.5778, allocations: 125.4 kB / 0.6589 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006233/0.584, allocations: 1.75 MB / 0.6607 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/0.5843, allocations: 27.83 kB / 0.6607 GB, free: 41.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.6011, allocations: 7.35 MB / 0.6679 GB, free: 36.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6012, allocations: 1.172 kB / 0.6679 GB, free: 36.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08373/0.6849, allocations: 32.48 MB / 0.6996 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.6853, allocations: 203.6 kB / 0.6998 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.6854, allocations: 23.97 kB / 0.6998 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6866, allocations: 107.9 kB / 0.6999 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007026/0.6873, allocations: 216.5 kB / 0.7001 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.6873, allocations: 27.94 kB / 0.7001 GB, free: 4.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000629/0.688, allocations: 0.6008 MB / 0.7007 GB, free: 4.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.688, allocations: 0 / 0.7007 GB, free: 4.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00175/0.6897, allocations: 0.6 MB / 0.7013 GB, free: 3.789 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.0002828/0.69, allocations: 131.4 kB / 0.7014 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.6966, allocations: 2.454 MB / 0.7038 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6966, allocations: 0 / 0.7038 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.7012, allocations: 1.554 MB / 0.7053 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.702, allocations: 88.41 kB / 0.7054 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/0.7101, allocations: 3.738 MB / 0.7091 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.7108, allocations: 1.135 MB / 0.7102 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.7112, allocations: 90.77 kB / 0.7103 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7115, allocations: 63.41 kB / 0.7103 GB, free: 10.43 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7115, allocations: 0 / 0.7103 GB, free: 10.43 MB / 442.7 MB Notification: Performance of Templates: time 0.04597/0.7575, allocations: 30.64 MB / 0.7403 GB, free: 11.82 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)