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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 183.1 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.267/1.267, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.0009272/0.0009272, allocations: 100.2 kB / 269.2 MB, free: 8.434 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.07041/0.07041, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3352/0.3352, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 110.5 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1744, allocations: 68.12 MB / 0.592 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.009515/0.184, allocations: 6.749 MB / 0.5986 GB, free: 8.875 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1886, allocations: 1.873 MB / 0.6004 GB, free: 6.996 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1899, allocations: 15.94 kB / 0.6004 GB, free: 6.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.1908, allocations: 170.9 kB / 0.6006 GB, free: 6.812 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1932, allocations: 0.6331 MB / 0.6012 GB, free: 6.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1949, allocations: 0.561 MB / 0.6017 GB, free: 5.625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1972, allocations: 1.351 MB / 0.6031 GB, free: 4.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.1978, allocations: 293.4 kB / 0.6033 GB, free: 3.969 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.1988, allocations: 0.5443 MB / 0.6039 GB, free: 3.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1999, allocations: 0.6881 MB / 0.6045 GB, free: 2.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.2003, allocations: 68 kB / 0.6046 GB, free: 2.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.2009, allocations: 195.9 kB / 0.6048 GB, free: 2.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.2013, allocations: 246.7 kB / 0.605 GB, free: 2.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008821/0.2022, allocations: 0.5822 MB / 0.6056 GB, free: 1.645 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.2039, allocations: 1.44 MB / 0.607 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.204, allocations: 0 / 0.607 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.204, allocations: 0 / 0.607 GB, free: 204 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.938e-05/0.204, allocations: 4 kB / 0.607 GB, free: 200 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008478/0.2125, allocations: 2.548 MB / 0.6095 GB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2126, allocations: 11.98 kB / 0.6095 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.2173, allocations: 0.7788 MB / 0.6103 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2185, allocations: 0.7605 MB / 0.611 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.2188, allocations: 260.2 kB / 0.6113 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.2189, allocations: 76 kB / 0.6113 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.2212, allocations: 1.073 MB / 0.6124 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2212, allocations: 3.938 kB / 0.6124 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.2213, allocations: 28 kB / 0.6124 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2214, allocations: 20 kB / 0.6124 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.2239, allocations: 1.124 MB / 0.6135 GB, free: 9.363 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.006361/0.2303, allocations: 3.436 MB / 0.6169 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.2325, allocations: 1.412 MB / 0.6183 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.2341, allocations: 0.7774 MB / 0.619 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.2342, allocations: 13 kB / 0.619 GB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.2342, allocations: 51.44 kB / 0.6191 GB, free: 3.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/0.2343, allocations: 0 / 0.6191 GB, free: 3.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.02731/0.2616, allocations: 6.746 MB / 0.6257 GB, free: 12.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.2617, allocations: 64.34 kB / 0.6257 GB, free: 12.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2631, allocations: 0.8876 MB / 0.6266 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.2633, allocations: 41.7 kB / 0.6266 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.2637, allocations: 496.7 kB / 0.6271 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.2642, allocations: 343 kB / 0.6274 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.2647, allocations: 198.8 kB / 0.6276 GB, free: 10.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2649, allocations: 345.9 kB / 0.628 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.2666, allocations: 0.7092 MB / 0.6286 GB, free: 9.496 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.2685, allocations: 0.8384 MB / 0.6295 GB, free: 8.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01969/0.2882, allocations: 4.79 MB / 0.6341 GB, free: 3.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.2882, allocations: 0 / 0.6341 GB, free: 3.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.2329/0.5211, allocations: 4.244 MB / 0.6383 GB, free: 49.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5212, allocations: 7.438 kB / 0.6383 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5212, allocations: 2.203 kB / 0.6383 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007017/0.5282, allocations: 1.862 MB / 0.6401 GB, free: 49.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5294, allocations: 208.4 kB / 0.6403 GB, free: 49.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/0.551, allocations: 8.364 MB / 0.6485 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5526, allocations: 175.1 kB / 0.6487 GB, free: 45.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.5529, allocations: 42.25 kB / 0.6487 GB, free: 45.91 MB / 426.7 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.000542/0.5534, allocations: 236.1 kB / 0.6489 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.5537, allocations: 122.5 kB / 0.649 GB, free: 45.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.5678, allocations: 4.006 MB / 0.6529 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.5678, allocations: 9.938 kB / 0.653 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5679, allocations: 0 / 0.653 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.5679, allocations: 9.094 kB / 0.653 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.583, allocations: 5.628 MB / 0.6585 GB, free: 42.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5831, allocations: 4 kB / 0.6585 GB, free: 42.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.5838, allocations: 126 kB / 0.6586 GB, free: 42.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/0.5898, allocations: 1.738 MB / 0.6603 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5899, allocations: 17.38 kB / 0.6603 GB, free: 42.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/0.6062, allocations: 7.349 MB / 0.6675 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6062, allocations: 3.938 kB / 0.6675 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08929/0.6955, allocations: 32.41 MB / 0.6991 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.6959, allocations: 202.6 kB / 0.6993 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.6962, allocations: 16.75 kB / 0.6993 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.6973, allocations: 107.9 kB / 0.6994 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00072/0.6981, allocations: 212.6 kB / 0.6996 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.6982, allocations: 31.92 kB / 0.6997 GB, free: 5.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006507/0.6989, allocations: 0.5887 MB / 0.7002 GB, free: 5.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6989, allocations: 4 kB / 0.7002 GB, free: 5.246 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002032/0.7009, allocations: 0.5815 MB / 0.7008 GB, free: 4.664 MB / 426.7 MB 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.0003005/0.7012, allocations: 133.6 kB / 0.7009 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006954/0.7082, allocations: 2.417 MB / 0.7033 GB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7082, allocations: 0 / 0.7033 GB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00506/0.7133, allocations: 1.549 MB / 0.7048 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.7143, allocations: 96.34 kB / 0.7049 GB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.7231, allocations: 3.679 MB / 0.7085 GB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.724, allocations: 1.126 MB / 0.7096 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.7245, allocations: 86.69 kB / 0.7097 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.7248, allocations: 59.42 kB / 0.7097 GB, free: 11.42 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7248, allocations: 0 / 0.7097 GB, free: 11.42 MB / 442.7 MB Notification: Performance of Templates: time 0.04669/0.7715, allocations: 30.25 MB / 0.7393 GB, free: 13.18 MB / 474.7 MB 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)