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/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_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08545/0.08545, allocations: 12.6 MB / 28.1 MB, free: 0.832 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.001044/0.001044, allocations: 107.5 kB / 31.69 MB, free: 3.965 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.334/1.334, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001319/0.00132, allocations: 196.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.44/0.44, allocations: 78.49 MB / 419.1 MB, free: 11.35 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.002846/0.002846, allocations: 135.8 kB / 499.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3457, allocations: 68.11 MB / 0.5546 GB, free: 32.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006563/0.3523, allocations: 6.483 MB / 0.5609 GB, free: 28.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3559, allocations: 1.838 MB / 0.5627 GB, free: 26.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005274/0.3565, allocations: 14.97 kB / 0.5627 GB, free: 26.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.357, allocations: 222 kB / 0.5629 GB, free: 26.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.3584, allocations: 0.7107 MB / 0.5636 GB, free: 25.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3594, allocations: 0.6116 MB / 0.5642 GB, free: 25.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.3607, allocations: 1.41 MB / 0.5656 GB, free: 24.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.3611, allocations: 333.9 kB / 0.5659 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.3618, allocations: 0.5896 MB / 0.5665 GB, free: 24.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006247/0.3624, allocations: 0.7338 MB / 0.5672 GB, free: 23.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3626, allocations: 105.6 kB / 0.5673 GB, free: 23.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.363, allocations: 243.1 kB / 0.5675 GB, free: 23.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3632, allocations: 279.9 kB / 0.5678 GB, free: 23.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.3637, allocations: 0.6226 MB / 0.5684 GB, free: 22.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.3649, allocations: 1.497 MB / 0.5699 GB, free: 21.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.365, allocations: 0 / 0.5699 GB, free: 21.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.365, allocations: 0 / 0.5699 GB, free: 21.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.365, allocations: 0 / 0.5699 GB, free: 21.62 MB / 398.1 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.00754/0.3725, allocations: 2.564 MB / 0.5724 GB, free: 20.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3726, allocations: 13.23 kB / 0.5724 GB, free: 20.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.3774, allocations: 0.7741 MB / 0.5731 GB, free: 19.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3785, allocations: 0.7811 MB / 0.5739 GB, free: 19.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.3787, allocations: 250.9 kB / 0.5741 GB, free: 18.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3789, allocations: 80.09 kB / 0.5742 GB, free: 18.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.381, allocations: 1.076 MB / 0.5753 GB, free: 18.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.381, allocations: 7.938 kB / 0.5753 GB, free: 18.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.3811, allocations: 30.62 kB / 0.5753 GB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3812, allocations: 19 kB / 0.5753 GB, free: 18.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.3834, allocations: 1.126 MB / 0.5764 GB, free: 17.16 MB / 398.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.004857/0.3883, allocations: 3.459 MB / 0.5798 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.39, allocations: 1.426 MB / 0.5812 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.3914, allocations: 0.7806 MB / 0.582 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.3915, allocations: 24.97 kB / 0.582 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3915, allocations: 47.55 kB / 0.582 GB, free: 11.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.194e-06/0.3915, allocations: 0 / 0.582 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02411/0.4157, allocations: 6.609 MB / 0.5885 GB, free: 4.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4157, allocations: 60.41 kB / 0.5885 GB, free: 4.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.4167, allocations: 0.9002 MB / 0.5894 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.4169, allocations: 41.7 kB / 0.5895 GB, free: 3.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.4172, allocations: 0.489 MB / 0.5899 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.4175, allocations: 343 kB / 0.5903 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.4178, allocations: 210.8 kB / 0.5905 GB, free: 2.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.4179, allocations: 345.9 kB / 0.5908 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.4194, allocations: 0.7209 MB / 0.5915 GB, free: 1.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4209, allocations: 0.8501 MB / 0.5923 GB, free: 476 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/0.4397, allocations: 4.837 MB / 0.597 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.4397, allocations: 0 / 0.597 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01458/0.4543, allocations: 4.273 MB / 0.6012 GB, free: 7.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.4544, allocations: 4 kB / 0.6012 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.4544, allocations: 7.938 kB / 0.6012 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006676/0.4611, allocations: 1.819 MB / 0.603 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.4623, allocations: 211.7 kB / 0.6032 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02408/0.4864, allocations: 9.334 MB / 0.6123 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4882, allocations: 167 kB / 0.6125 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.4885, allocations: 43.98 kB / 0.6125 GB, free: 11.58 MB / 430.1 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.0007139/0.4892, allocations: 245.5 kB / 0.6128 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.4896, allocations: 122.5 kB / 0.6129 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.5033, allocations: 4.014 MB / 0.6168 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5034, allocations: 8 kB / 0.6168 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5034, allocations: 0 / 0.6168 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.5034, allocations: 7.969 kB / 0.6168 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.5199, allocations: 5.625 MB / 0.6223 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.52, allocations: 0 / 0.6223 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.5207, allocations: 131.9 kB / 0.6224 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006197/0.527, allocations: 1.745 MB / 0.6241 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.5272, allocations: 23.98 kB / 0.6242 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.5466, allocations: 8.083 MB / 0.6321 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5466, allocations: 0 / 0.6321 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.5627, allocations: 4.962 MB / 0.6369 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.5632, allocations: 207.4 kB / 0.6371 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.5636, allocations: 16 kB / 0.6371 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.5649, allocations: 115.8 kB / 0.6372 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/0.5656, allocations: 216.7 kB / 0.6374 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5657, allocations: 24 kB / 0.6375 GB, free: 1.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008919/0.5666, allocations: 0.6008 MB / 0.638 GB, free: 1.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5666, allocations: 0 / 0.638 GB, free: 1.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001413/0.5681, allocations: 443.4 kB / 0.6385 GB, free: 0.6406 MB / 446.1 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.0002761/0.5683, allocations: 131.5 kB / 0.6386 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007431/0.5758, allocations: 2.518 MB / 0.641 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5758, allocations: 0.5625 kB / 0.641 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004925/0.5808, allocations: 1.61 MB / 0.6426 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.5817, allocations: 87.23 kB / 0.6427 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.5858, allocations: 2.043 MB / 0.6447 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.5864, allocations: 1.099 MB / 0.6458 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.5868, allocations: 82.77 kB / 0.6459 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.5871, allocations: 75.36 kB / 0.6459 GB, free: 8.926 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5871, allocations: 3.938 kB / 0.6459 GB, free: 8.922 MB / 462.1 MB Notification: Performance of Templates: time 0.03658/0.6237, allocations: 23.68 MB / 0.6691 GB, free: 1.254 MB / 478.1 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)