Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 106.7 kB / 16.36 MB, free: 5.875 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.55/1.55, allocations: 222.9 MB / 240 MB, free: 4.531 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.001267/0.001267, allocations: 184.5 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4542/0.4542, allocations: 78.54 MB / 419 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 75.88 kB / 498.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1506, allocations: 68.18 MB / 0.5538 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2059/0.3565, allocations: 5.735 MB / 0.5594 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.3598, allocations: 1.733 MB / 0.5611 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008919/0.3607, allocations: 13.38 kB / 0.5611 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.3614, allocations: 203.3 kB / 0.5613 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3634, allocations: 0.6816 MB / 0.5619 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3647, allocations: 0.5508 MB / 0.5625 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3663, allocations: 1.256 MB / 0.5637 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.3668, allocations: 277.6 kB / 0.564 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007916/0.3676, allocations: 0.5157 MB / 0.5645 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.3684, allocations: 0.6463 MB / 0.5651 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.3687, allocations: 87.25 kB / 0.5652 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.3693, allocations: 224.8 kB / 0.5654 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3695, allocations: 246.7 kB / 0.5656 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.3699, allocations: 0.5442 MB / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3711, allocations: 1.357 MB / 0.5675 GB, free: 34.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3712, allocations: 3.75 kB / 0.5675 GB, free: 34.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3712, allocations: 0.8125 kB / 0.5675 GB, free: 34.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3712, allocations: 0 / 0.5675 GB, free: 34.41 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006848/0.378, allocations: 2.343 MB / 0.5698 GB, free: 33.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3781, allocations: 16.31 kB / 0.5698 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.3828, allocations: 0.755 MB / 0.5705 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.384, allocations: 0.7184 MB / 0.5712 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.3842, allocations: 248.6 kB / 0.5715 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3844, allocations: 71.31 kB / 0.5715 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.3861, allocations: 0.9528 MB / 0.5725 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3861, allocations: 5.109 kB / 0.5725 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.3862, allocations: 25.44 kB / 0.5725 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3862, allocations: 18.38 kB / 0.5725 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.3881, allocations: 0.9757 MB / 0.5735 GB, free: 32.87 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.004881/0.393, allocations: 3.154 MB / 0.5766 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3947, allocations: 1.307 MB / 0.5778 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.3959, allocations: 0.6996 MB / 0.5785 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.396, allocations: 21.69 kB / 0.5785 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3961, allocations: 38.09 kB / 0.5786 GB, free: 31.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.925e-06/0.3961, allocations: 0 / 0.5786 GB, free: 31.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02423/0.4203, allocations: 6.762 MB / 0.5852 GB, free: 29.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4204, allocations: 61.12 kB / 0.5852 GB, free: 29.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4214, allocations: 0.8051 MB / 0.586 GB, free: 29.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.4216, allocations: 43.55 kB / 0.5861 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4218, allocations: 431.3 kB / 0.5865 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.4221, allocations: 293.8 kB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.4224, allocations: 183.2 kB / 0.5869 GB, free: 28.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.4225, allocations: 342.3 kB / 0.5873 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.4238, allocations: 0.651 MB / 0.5879 GB, free: 28.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.4252, allocations: 0.776 MB / 0.5887 GB, free: 27.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.4422, allocations: 4.488 MB / 0.593 GB, free: 26.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4423, allocations: 4 kB / 0.593 GB, free: 26.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0127/0.455, allocations: 4.118 MB / 0.5971 GB, free: 25.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.455, allocations: 6.75 kB / 0.5971 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4551, allocations: 2.438 kB / 0.5971 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006085/0.4611, allocations: 1.795 MB / 0.5988 GB, free: 25.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.462, allocations: 166.9 kB / 0.599 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/0.4833, allocations: 9.315 MB / 0.6081 GB, free: 20.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4849, allocations: 154.6 kB / 0.6082 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.485, allocations: 37.92 kB / 0.6083 GB, free: 20.61 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0004606/0.4855, allocations: 233.7 kB / 0.6085 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.4857, allocations: 101.7 kB / 0.6086 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.4971, allocations: 3.831 MB / 0.6123 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4972, allocations: 8 kB / 0.6123 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4972, allocations: 0 / 0.6123 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.4972, allocations: 3.984 kB / 0.6123 GB, free: 18.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.5094, allocations: 5.349 MB / 0.6176 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5094, allocations: 0 / 0.6176 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.51, allocations: 96.45 kB / 0.6176 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/0.5151, allocations: 1.747 MB / 0.6194 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.5153, allocations: 19.98 kB / 0.6194 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.5305, allocations: 8.062 MB / 0.6272 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5306, allocations: 3.938 kB / 0.6272 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.5433, allocations: 4.717 MB / 0.6319 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.5438, allocations: 191.7 kB / 0.632 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5439, allocations: 8.875 kB / 0.632 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.5448, allocations: 91.89 kB / 0.6321 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/0.5454, allocations: 196.7 kB / 0.6323 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.5455, allocations: 24 kB / 0.6323 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.5462, allocations: 0.5421 MB / 0.6329 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5462, allocations: 0 / 0.6329 GB, free: 12.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001204/0.5474, allocations: 403.6 kB / 0.6333 GB, free: 12.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0002627/0.5477, allocations: 123.2 kB / 0.6334 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005941/0.5536, allocations: 2.324 MB / 0.6356 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5537, allocations: 0 / 0.6356 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004137/0.5578, allocations: 1.509 MB / 0.6371 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.5586, allocations: 80.69 kB / 0.6372 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.5618, allocations: 1.732 MB / 0.6389 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.5625, allocations: 1.033 MB / 0.6399 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.5628, allocations: 77.11 kB / 0.64 GB, free: 5.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.563, allocations: 59.42 kB / 0.64 GB, free: 5.602 MB / 446.1 MB Notification: Performance of SimCode: time 1.422e-06/0.563, allocations: 0 / 0.64 GB, free: 5.602 MB / 446.1 MB Notification: Performance of Templates: time 0.03804/0.601, allocations: 22.41 MB / 0.6619 GB, free: 15.37 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)