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.07886/0.07886, allocations: 12.6 MB / 28.91 MB, free: 0.625 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.001116/0.001116, allocations: 115.5 kB / 32.51 MB, free: 3.562 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.431/1.431, allocations: 205.1 MB / 241.1 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.001647/0.001647, allocations: 203.4 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.4408/0.4408, allocations: 78.52 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.002627/0.002627, allocations: 142.9 kB / 0.5565 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1341, allocations: 68.12 MB / 0.6231 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.0073/0.1415, allocations: 6.421 MB / 0.6293 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.1454, allocations: 1.822 MB / 0.6311 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1466, allocations: 12 kB / 0.6311 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008293/0.1474, allocations: 222 kB / 0.6313 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.1501, allocations: 0.7218 MB / 0.632 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1517, allocations: 0.5996 MB / 0.6326 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.1541, allocations: 1.402 MB / 0.634 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.1549, allocations: 328.2 kB / 0.6343 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.1563, allocations: 0.5796 MB / 0.6349 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.1578, allocations: 0.7232 MB / 0.6356 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004706/0.1583, allocations: 100 kB / 0.6357 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.1592, allocations: 235.9 kB / 0.6359 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.1596, allocations: 282.8 kB / 0.6362 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009072/0.1605, allocations: 0.6135 MB / 0.6368 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.1629, allocations: 1.51 MB / 0.6382 GB, free: 15.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1629, allocations: 4 kB / 0.6382 GB, free: 15.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1629, allocations: 0 / 0.6382 GB, free: 15.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.658e-05/0.163, allocations: 0 / 0.6382 GB, free: 15.92 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.009527/0.1725, allocations: 2.536 MB / 0.6407 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/0.1726, allocations: 11.98 kB / 0.6407 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.1779, allocations: 0.7827 MB / 0.6415 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.1798, allocations: 0.7683 MB / 0.6422 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.1801, allocations: 260.2 kB / 0.6425 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.1805, allocations: 72 kB / 0.6426 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.1834, allocations: 1.073 MB / 0.6436 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.1835, allocations: 3.938 kB / 0.6436 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1836, allocations: 28 kB / 0.6436 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.1836, allocations: 20 kB / 0.6437 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.1864, allocations: 1.117 MB / 0.6448 GB, free: 9.094 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.006927/0.1933, allocations: 3.424 MB / 0.6481 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.1955, allocations: 1.404 MB / 0.6495 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1972, allocations: 0.7852 MB / 0.6502 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/0.1973, allocations: 9 kB / 0.6502 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1974, allocations: 39.56 kB / 0.6503 GB, free: 3.156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.1974, allocations: 0 / 0.6503 GB, free: 3.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02705/0.2244, allocations: 6.75 MB / 0.6569 GB, free: 12.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2245, allocations: 64.41 kB / 0.6569 GB, free: 12.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.2259, allocations: 0.8915 MB / 0.6578 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.2262, allocations: 41.7 kB / 0.6578 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.2266, allocations: 496.7 kB / 0.6583 GB, free: 10.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.2271, allocations: 335.1 kB / 0.6586 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005387/0.2276, allocations: 194.8 kB / 0.6588 GB, free: 10.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2278, allocations: 345.9 kB / 0.6592 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.2295, allocations: 0.7209 MB / 0.6599 GB, free: 9.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.2313, allocations: 0.8423 MB / 0.6607 GB, free: 8.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.2505, allocations: 4.787 MB / 0.6654 GB, free: 3.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.2506, allocations: 0 / 0.6654 GB, free: 3.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01493/0.2655, allocations: 4.265 MB / 0.6695 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.2656, allocations: 10.75 kB / 0.6695 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.2657, allocations: 4 kB / 0.6695 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006674/0.2723, allocations: 1.863 MB / 0.6714 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.2736, allocations: 199.7 kB / 0.6715 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.2967, allocations: 9.081 MB / 0.6804 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.2985, allocations: 178.9 kB / 0.6806 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.2988, allocations: 43.98 kB / 0.6806 GB, free: 3.75 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.0007707/0.2996, allocations: 237.4 kB / 0.6809 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.3, allocations: 118.5 kB / 0.681 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.3136, allocations: 4.002 MB / 0.6849 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.3136, allocations: 16 kB / 0.6849 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3137, allocations: 3.938 kB / 0.6849 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.3137, allocations: 3.984 kB / 0.6849 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.3303, allocations: 5.617 MB / 0.6904 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.3304, allocations: 4 kB / 0.6904 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/0.3312, allocations: 131.8 kB / 0.6905 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00626/0.3375, allocations: 1.737 MB / 0.6922 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/0.3378, allocations: 23.94 kB / 0.6922 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/0.3584, allocations: 8.068 MB / 0.7001 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3584, allocations: 0 / 0.7001 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.3747, allocations: 4.96 MB / 0.705 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.3753, allocations: 203.4 kB / 0.7051 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.3757, allocations: 20.06 kB / 0.7052 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.377, allocations: 103.9 kB / 0.7053 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007871/0.3778, allocations: 224.5 kB / 0.7055 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.3779, allocations: 27.94 kB / 0.7055 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009419/0.3789, allocations: 0.5965 MB / 0.7061 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3789, allocations: 0 / 0.7061 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001635/0.3805, allocations: 435.5 kB / 0.7065 GB, free: 8.871 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.0003622/0.3809, allocations: 127.1 kB / 0.7066 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007606/0.3885, allocations: 2.476 MB / 0.709 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3886, allocations: 0 / 0.709 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005376/0.394, allocations: 1.597 MB / 0.7106 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3952, allocations: 88.41 kB / 0.7107 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.4, allocations: 1.961 MB / 0.7126 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/0.4009, allocations: 1.084 MB / 0.7137 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.4013, allocations: 75.41 kB / 0.7137 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of SimCode: time 1.322e-06/0.4013, allocations: 3.938 kB / 0.7137 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.347/0.7484, allocations: 20.01 MB / 0.7333 GB, free: 80.19 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)