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.005395/0.005395, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001382/0.001382, allocations: 196.4 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4471/0.4471, allocations: 78.52 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 76.09 kB / 0.5536 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3367, allocations: 68.16 MB / 0.6202 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004446/0.3412, allocations: 5.741 MB / 0.6258 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3435, allocations: 1.739 MB / 0.6275 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.3438, allocations: 11.94 kB / 0.6275 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.3442, allocations: 202.3 kB / 0.6277 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.3454, allocations: 0.6883 MB / 0.6284 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.3462, allocations: 0.5658 MB / 0.6289 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.3471, allocations: 1.241 MB / 0.6301 GB, free: 8 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.3475, allocations: 275.1 kB / 0.6304 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.348, allocations: 0.5251 MB / 0.6309 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.3486, allocations: 0.6416 MB / 0.6315 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.3488, allocations: 88 kB / 0.6316 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.3491, allocations: 231.9 kB / 0.6318 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.3493, allocations: 246.8 kB / 0.6321 GB, free: 14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.3498, allocations: 0.5437 MB / 0.6326 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.351, allocations: 1.352 MB / 0.6339 GB, free: 12.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3511, allocations: 4 kB / 0.6339 GB, free: 12.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3511, allocations: 0 / 0.6339 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3511, allocations: 0 / 0.6339 GB, free: 12.1 MB / 446.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.006675/0.3578, allocations: 2.345 MB / 0.6362 GB, free: 9.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3578, allocations: 11.97 kB / 0.6362 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004684/0.3625, allocations: 0.7596 MB / 0.637 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3636, allocations: 0.7126 MB / 0.6377 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.3638, allocations: 256.1 kB / 0.6379 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.364, allocations: 64 kB / 0.638 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.3659, allocations: 0.9599 MB / 0.6389 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3659, allocations: 3.938 kB / 0.6389 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.366, allocations: 28 kB / 0.6389 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.366, allocations: 16 kB / 0.639 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.368, allocations: 0.9721 MB / 0.6399 GB, free: 5.828 MB / 446.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.004962/0.3729, allocations: 3.154 MB / 0.643 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.3749, allocations: 1.303 MB / 0.6443 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3762, allocations: 0.7021 MB / 0.6449 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.3763, allocations: 12.64 kB / 0.645 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3763, allocations: 51.2 kB / 0.645 GB, free: 332 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.3763, allocations: 0 / 0.645 GB, free: 332 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.0242/0.4005, allocations: 6.755 MB / 0.6516 GB, free: 9.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4006, allocations: 60.06 kB / 0.6517 GB, free: 9.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4017, allocations: 0.8064 MB / 0.6524 GB, free: 8.629 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.4018, allocations: 37.7 kB / 0.6525 GB, free: 8.586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.4021, allocations: 440.4 kB / 0.6529 GB, free: 8.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.4024, allocations: 287.8 kB / 0.6532 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.4027, allocations: 186.9 kB / 0.6534 GB, free: 7.672 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4029, allocations: 345.9 kB / 0.6537 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.4042, allocations: 0.6467 MB / 0.6543 GB, free: 6.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.4057, allocations: 0.7718 MB / 0.6551 GB, free: 5.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/0.4225, allocations: 4.5 MB / 0.6595 GB, free: 1.348 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4225, allocations: 7.938 kB / 0.6595 GB, free: 1.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01226/0.4348, allocations: 4.113 MB / 0.6635 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4348, allocations: 8 kB / 0.6635 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4349, allocations: 0 / 0.6635 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/0.441, allocations: 1.791 MB / 0.6652 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000875/0.4419, allocations: 167.8 kB / 0.6654 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/0.4723, allocations: 9.324 MB / 0.6745 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.4742, allocations: 155 kB / 0.6747 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4744, allocations: 35.98 kB / 0.6747 GB, free: 1.574 MB / 478.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.0006854/0.4751, allocations: 225.6 kB / 0.6749 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4754, allocations: 98.78 kB / 0.675 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/0.4934, allocations: 3.833 MB / 0.6787 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.4935, allocations: 8 kB / 0.6788 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4935, allocations: 3.938 kB / 0.6788 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.941e-05/0.4935, allocations: 7.969 kB / 0.6788 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.5125, allocations: 5.345 MB / 0.684 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.5126, allocations: 4 kB / 0.684 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.5133, allocations: 95.88 kB / 0.6841 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008961/0.5223, allocations: 1.745 MB / 0.6858 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.5225, allocations: 16 kB / 0.6858 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/0.5453, allocations: 8.048 MB / 0.6937 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5453, allocations: 7.938 kB / 0.6937 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.5587, allocations: 4.712 MB / 0.6983 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5591, allocations: 187.7 kB / 0.6984 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5592, allocations: 16 kB / 0.6985 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/0.5601, allocations: 91.89 kB / 0.6986 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/0.5607, allocations: 196.7 kB / 0.6987 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.5608, allocations: 27.94 kB / 0.6988 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000687/0.5615, allocations: 0.5421 MB / 0.6993 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5615, allocations: 0 / 0.6993 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001194/0.5627, allocations: 403.6 kB / 0.6997 GB, free: 7.609 MB / 0.4981 GB 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.0002725/0.563, allocations: 131.1 kB / 0.6998 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006129/0.5691, allocations: 2.326 MB / 0.7021 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5692, allocations: 0 / 0.7021 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.5735, allocations: 1.508 MB / 0.7035 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.5743, allocations: 85.38 kB / 0.7036 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.5775, allocations: 1.725 MB / 0.7053 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.578, allocations: 1.033 MB / 0.7063 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.5783, allocations: 74.19 kB / 0.7064 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.5785, allocations: 59.44 kB / 0.7065 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5785, allocations: 0 / 0.7065 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of Templates: time 0.03399/0.6125, allocations: 22.6 MB / 0.7285 GB, free: 9.98 MB / 0.5294 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)