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/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/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/package.mo): time 0.08466/0.08466, allocations: 12.2 MB / 27.18 MB, free: 1.504 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.0007501/0.0007499, allocations: 103.5 kB / 30.68 MB, free: 4.859 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.328/1.328, allocations: 205.4 MB / 239.5 MB, free: 11.55 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.001101/0.001101, allocations: 187.5 kB / 290.6 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.4453/0.4453, allocations: 78.53 MB / 420.1 MB, free: 48.6 MB / 334.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.0009189/0.000919, allocations: 39.98 kB / 0.4895 GB, free: 2.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3465, allocations: 69.22 MB / 0.5571 GB, free: 43.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006438/0.353, allocations: 5.908 MB / 0.5628 GB, free: 41.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.3571, allocations: 1.76 MB / 0.5645 GB, free: 40.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.3585, allocations: 12.44 kB / 0.5646 GB, free: 40.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.3593, allocations: 154.9 kB / 0.5647 GB, free: 40.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.3621, allocations: 0.5912 MB / 0.5653 GB, free: 39.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3639, allocations: 0.5204 MB / 0.5658 GB, free: 39.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.3662, allocations: 1.259 MB / 0.567 GB, free: 38.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.3668, allocations: 266.5 kB / 0.5673 GB, free: 38.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3679, allocations: 0.4979 MB / 0.5678 GB, free: 38.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.3687, allocations: 0.6361 MB / 0.5684 GB, free: 38.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.3689, allocations: 52.34 kB / 0.5684 GB, free: 38.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.3694, allocations: 174.5 kB / 0.5686 GB, free: 38.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.3696, allocations: 213.3 kB / 0.5688 GB, free: 38.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.3698, allocations: 223.2 kB / 0.569 GB, free: 38.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.3708, allocations: 1.09 MB / 0.5701 GB, free: 37.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3708, allocations: 0.875 kB / 0.5701 GB, free: 37.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3708, allocations: 0 / 0.5701 GB, free: 37.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.3708, allocations: 0 / 0.5701 GB, free: 37.68 MB / 430.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.006742/0.3776, allocations: 2.378 MB / 0.5724 GB, free: 36.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3776, allocations: 16.48 kB / 0.5724 GB, free: 36.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.3823, allocations: 0.7845 MB / 0.5732 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.3838, allocations: 0.7286 MB / 0.5739 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.3841, allocations: 270 kB / 0.5742 GB, free: 35.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.3843, allocations: 76.53 kB / 0.5742 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.3867, allocations: 1.156 MB / 0.5754 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3867, allocations: 0 / 0.5754 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.3868, allocations: 29.19 kB / 0.5754 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.3868, allocations: 20.17 kB / 0.5754 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.3891, allocations: 1.233 MB / 0.5766 GB, free: 34.96 MB / 430.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.005163/0.3943, allocations: 3.522 MB / 0.58 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3961, allocations: 1.49 MB / 0.5815 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3976, allocations: 0.8758 MB / 0.5824 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3977, allocations: 9.75 kB / 0.5824 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3977, allocations: 42.38 kB / 0.5824 GB, free: 31.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.365e-06/0.3978, allocations: 2.938 kB / 0.5824 GB, free: 31.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02372/0.4215, allocations: 8.324 MB / 0.5905 GB, free: 30.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4216, allocations: 62 kB / 0.5906 GB, free: 30.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.423, allocations: 0.8814 MB / 0.5915 GB, free: 29.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.4232, allocations: 41.08 kB / 0.5915 GB, free: 29.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.4235, allocations: 495 kB / 0.592 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.4239, allocations: 346.4 kB / 0.5923 GB, free: 29.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.4239, allocations: 21.03 kB / 0.5923 GB, free: 29.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.424, allocations: 347.5 kB / 0.5926 GB, free: 28.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4256, allocations: 0.7993 MB / 0.5934 GB, free: 28.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4274, allocations: 0.9338 MB / 0.5943 GB, free: 28.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.4291, allocations: 0.8466 MB / 0.5952 GB, free: 27.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4291, allocations: 1.031 kB / 0.5952 GB, free: 27.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01397/0.4431, allocations: 5.151 MB / 0.6002 GB, free: 26.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4431, allocations: 10.25 kB / 0.6002 GB, free: 26.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4432, allocations: 2.219 kB / 0.6002 GB, free: 26.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/0.4498, allocations: 2.183 MB / 0.6023 GB, free: 26.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4511, allocations: 223.2 kB / 0.6026 GB, free: 26.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.4704, allocations: 9.343 MB / 0.6117 GB, free: 20.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4719, allocations: 226.9 kB / 0.6119 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.472, allocations: 39.98 kB / 0.6119 GB, free: 19.84 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.4725, allocations: 247.5 kB / 0.6122 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.4727, allocations: 118.5 kB / 0.6123 GB, free: 19.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.484, allocations: 4.944 MB / 0.6171 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.484, allocations: 12 kB / 0.6171 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.484, allocations: 4 kB / 0.6171 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.484, allocations: 3.984 kB / 0.6171 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.4969, allocations: 6.555 MB / 0.6235 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4969, allocations: 0 / 0.6235 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007689/0.4977, allocations: 147.8 kB / 0.6237 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/0.5028, allocations: 2.046 MB / 0.6257 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.5031, allocations: 16 kB / 0.6257 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.5182, allocations: 8.215 MB / 0.6337 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5182, allocations: 4 kB / 0.6337 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.5328, allocations: 5.982 MB / 0.6396 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.5332, allocations: 207.4 kB / 0.6398 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.5333, allocations: 16 kB / 0.6398 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.5343, allocations: 151.9 kB / 0.6399 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006244/0.5349, allocations: 216.6 kB / 0.6401 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.535, allocations: 27.98 kB / 0.6401 GB, free: 6.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007321/0.5357, allocations: 0.5848 MB / 0.6407 GB, free: 6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5357, allocations: 0 / 0.6407 GB, free: 6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.537, allocations: 431.5 kB / 0.6411 GB, free: 5.578 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.5372, allocations: 131.1 kB / 0.6413 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006538/0.5438, allocations: 2.751 MB / 0.6439 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5438, allocations: 3.938 kB / 0.6439 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.5484, allocations: 1.802 MB / 0.6457 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5496, allocations: 85.58 kB / 0.6458 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.5536, allocations: 2.279 MB / 0.648 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000899/0.5546, allocations: 1.084 MB / 0.6491 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004984/0.5551, allocations: 90.64 kB / 0.6492 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.5554, allocations: 55.42 kB / 0.6492 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5554, allocations: 4 kB / 0.6492 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Templates: time 0.03266/0.588, allocations: 19.82 MB / 0.6686 GB, free: 9.41 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: