Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008188, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 239.4 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009689/0.0009688, allocations: 180.5 kB / 290.6 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4779/0.4779, allocations: 78.55 MB / 420.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 12 kB / 0.4887 GB, free: 5.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 69.36 MB / 0.5564 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2245/0.3557, allocations: 6.303 MB / 0.5626 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.3591, allocations: 1.888 MB / 0.5644 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009391/0.3601, allocations: 11.53 kB / 0.5644 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.3606, allocations: 179.9 kB / 0.5646 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.3623, allocations: 0.6187 MB / 0.5652 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.3634, allocations: 0.5701 MB / 0.5657 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3648, allocations: 1.343 MB / 0.5671 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.3652, allocations: 287.5 kB / 0.5673 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.3658, allocations: 0.5176 MB / 0.5678 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.3664, allocations: 0.6653 MB / 0.5685 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3666, allocations: 55.47 kB / 0.5685 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.367, allocations: 188.8 kB / 0.5687 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3672, allocations: 222.6 kB / 0.5689 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.3676, allocations: 0.5919 MB / 0.5695 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.3688, allocations: 1.432 MB / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3688, allocations: 0 / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3688, allocations: 2.188 kB / 0.5709 GB, free: 33.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.3688, allocations: 0.9688 kB / 0.5709 GB, free: 33.3 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007337/0.3762, allocations: 2.392 MB / 0.5732 GB, free: 32.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3763, allocations: 9 kB / 0.5733 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.3812, allocations: 0.7843 MB / 0.574 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.3826, allocations: 0.7704 MB / 0.5748 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.3829, allocations: 275.1 kB / 0.575 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.383, allocations: 76.86 kB / 0.5751 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.3853, allocations: 1.169 MB / 0.5762 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3854, allocations: 3.938 kB / 0.5763 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.3855, allocations: 32.09 kB / 0.5763 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3855, allocations: 18.34 kB / 0.5763 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.3879, allocations: 1.244 MB / 0.5775 GB, free: 31.63 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.005532/0.3934, allocations: 3.523 MB / 0.581 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3954, allocations: 1.517 MB / 0.5824 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.397, allocations: 0.8735 MB / 0.5833 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.961e-05/0.3971, allocations: 15.39 kB / 0.5833 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3971, allocations: 43.09 kB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.495e-06/0.3971, allocations: 0 / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02692/0.4241, allocations: 8.208 MB / 0.5914 GB, free: 27.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4241, allocations: 62.86 kB / 0.5914 GB, free: 27.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.4253, allocations: 0.898 MB / 0.5923 GB, free: 27.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.4256, allocations: 45.77 kB / 0.5923 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4259, allocations: 0.4903 MB / 0.5928 GB, free: 27.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.4262, allocations: 343.9 kB / 0.5932 GB, free: 26.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4263, allocations: 107.7 kB / 0.5933 GB, free: 26.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.4264, allocations: 351.5 kB / 0.5936 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4281, allocations: 0.8079 MB / 0.5944 GB, free: 26.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.4299, allocations: 0.947 MB / 0.5953 GB, free: 25.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.4493, allocations: 5.395 MB / 0.6006 GB, free: 24.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.4493, allocations: 1.344 kB / 0.6006 GB, free: 24.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01525/0.4646, allocations: 5.213 MB / 0.6057 GB, free: 23.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.4647, allocations: 5.969 kB / 0.6057 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.4647, allocations: 6.219 kB / 0.6057 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007118/0.4718, allocations: 2.119 MB / 0.6077 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4732, allocations: 226 kB / 0.608 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.494, allocations: 9.569 MB / 0.6173 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4958, allocations: 223 kB / 0.6175 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4959, allocations: 35.98 kB / 0.6176 GB, free: 14.87 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.0005162/0.4964, allocations: 257.7 kB / 0.6178 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4966, allocations: 118.5 kB / 0.6179 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.5098, allocations: 4.948 MB / 0.6227 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5099, allocations: 13.5 kB / 0.6228 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.5099, allocations: 4 kB / 0.6228 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.5099, allocations: 11.91 kB / 0.6228 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.5249, allocations: 6.56 MB / 0.6292 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.525, allocations: 4 kB / 0.6292 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.5258, allocations: 143.8 kB / 0.6293 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005869/0.5316, allocations: 2.059 MB / 0.6313 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.532, allocations: 19.98 kB / 0.6313 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.5509, allocations: 8.216 MB / 0.6394 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.551, allocations: 0 / 0.6394 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.5684, allocations: 6.005 MB / 0.6452 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.5689, allocations: 212.2 kB / 0.6454 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5691, allocations: 23.94 kB / 0.6455 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5702, allocations: 152.9 kB / 0.6456 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006762/0.5709, allocations: 216.5 kB / 0.6458 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.571, allocations: 20 kB / 0.6458 GB, free: 1.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007407/0.5717, allocations: 0.6061 MB / 0.6464 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5717, allocations: 4 kB / 0.6464 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001269/0.573, allocations: 435.5 kB / 0.6468 GB, free: 0.5156 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.0002669/0.5733, allocations: 131.9 kB / 0.647 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007162/0.5805, allocations: 2.79 MB / 0.6497 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5805, allocations: 0 / 0.6497 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005084/0.5856, allocations: 1.797 MB / 0.6514 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.5865, allocations: 96.34 kB / 0.6515 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.5901, allocations: 2.492 MB / 0.654 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.5908, allocations: 1.095 MB / 0.655 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.5912, allocations: 86.89 kB / 0.6551 GB, free: 7.988 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.5914, allocations: 63.42 kB / 0.6552 GB, free: 7.926 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5914, allocations: 0 / 0.6552 GB, free: 7.926 MB / 462.1 MB Notification: Performance of Templates: time 0.03276/0.6242, allocations: 20.7 MB / 0.6754 GB, free: 3.414 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: