Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.367/1.367, allocations: 222.9 MB / 238.8 MB, free: 4.781 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.001672/0.001672, allocations: 195.7 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5225/0.5225, allocations: 91.89 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 83.81 kB / 0.5012 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3413, allocations: 71.26 MB / 0.5708 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004785/0.3461, allocations: 6.105 MB / 0.5768 GB, free: 33.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3488, allocations: 1.793 MB / 0.5785 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.3493, allocations: 10.28 kB / 0.5785 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.3497, allocations: 155.5 kB / 0.5787 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3511, allocations: 0.6282 MB / 0.5793 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3521, allocations: 0.5182 MB / 0.5798 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3532, allocations: 1.191 MB / 0.5809 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3535, allocations: 248.7 kB / 0.5812 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.3541, allocations: 495 kB / 0.5817 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.3545, allocations: 0.6159 MB / 0.5823 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3547, allocations: 57.47 kB / 0.5823 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.355, allocations: 185.2 kB / 0.5825 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3552, allocations: 216.3 kB / 0.5827 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.3555, allocations: 0.5116 MB / 0.5832 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.3564, allocations: 1.311 MB / 0.5845 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3564, allocations: 3.094 kB / 0.5845 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3564, allocations: 0 / 0.5845 GB, free: 28.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3564, allocations: 0 / 0.5845 GB, free: 28.98 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.006932/0.3634, allocations: 2.354 MB / 0.5868 GB, free: 27.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3634, allocations: 9.844 kB / 0.5868 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.3683, allocations: 0.7615 MB / 0.5875 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.3693, allocations: 0.7127 MB / 0.5882 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.3695, allocations: 245.1 kB / 0.5885 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3696, allocations: 68.59 kB / 0.5885 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.3715, allocations: 0.9564 MB / 0.5895 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3716, allocations: 3.938 kB / 0.5895 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.3717, allocations: 26.47 kB / 0.5895 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3717, allocations: 19.25 kB / 0.5895 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.3737, allocations: 0.9745 MB / 0.5905 GB, free: 26.32 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.004857/0.3786, allocations: 3.171 MB / 0.5935 GB, free: 24.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.3804, allocations: 1.302 MB / 0.5948 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.3817, allocations: 0.703 MB / 0.5955 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3818, allocations: 13.94 kB / 0.5955 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3818, allocations: 41.69 kB / 0.5956 GB, free: 23.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.046e-06/0.3818, allocations: 1.219 kB / 0.5956 GB, free: 23.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02766/0.4095, allocations: 6.758 MB / 0.6022 GB, free: 22.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4095, allocations: 63.84 kB / 0.6022 GB, free: 21.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4107, allocations: 0.805 MB / 0.603 GB, free: 21.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.4109, allocations: 41.16 kB / 0.603 GB, free: 21.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.4111, allocations: 433.3 kB / 0.6035 GB, free: 21.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.4114, allocations: 298 kB / 0.6037 GB, free: 21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.4118, allocations: 182.1 kB / 0.6039 GB, free: 20.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.4118, allocations: 344.2 kB / 0.6042 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.4133, allocations: 0.6496 MB / 0.6049 GB, free: 20.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4147, allocations: 0.7708 MB / 0.6056 GB, free: 20.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.4326, allocations: 4.496 MB / 0.61 GB, free: 18.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4327, allocations: 0 / 0.61 GB, free: 18.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01343/0.4461, allocations: 4.12 MB / 0.614 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.4462, allocations: 6.094 kB / 0.6141 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4462, allocations: 2.969 kB / 0.6141 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/0.4523, allocations: 1.791 MB / 0.6158 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.4531, allocations: 163.8 kB / 0.616 GB, free: 16.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.4709, allocations: 8.587 MB / 0.6243 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4722, allocations: 155 kB / 0.6245 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.4723, allocations: 39.98 kB / 0.6245 GB, free: 7.352 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.000392/0.4727, allocations: 226 kB / 0.6247 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.4729, allocations: 102.7 kB / 0.6248 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.4842, allocations: 3.829 MB / 0.6286 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4842, allocations: 12 kB / 0.6286 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4843, allocations: 0 / 0.6286 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4843, allocations: 11.91 kB / 0.6286 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.4978, allocations: 5.348 MB / 0.6338 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4978, allocations: 0 / 0.6338 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.4984, allocations: 95.89 kB / 0.6339 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.5043, allocations: 1.749 MB / 0.6356 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.5044, allocations: 19.98 kB / 0.6356 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.5219, allocations: 7.342 MB / 0.6428 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5219, allocations: 0 / 0.6428 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.5364, allocations: 4.712 MB / 0.6474 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.5368, allocations: 179.7 kB / 0.6476 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.537, allocations: 19.94 kB / 0.6476 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.5379, allocations: 95.89 kB / 0.6477 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/0.5386, allocations: 192.6 kB / 0.6479 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.5386, allocations: 27.98 kB / 0.6479 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006635/0.5393, allocations: 0.5343 MB / 0.6484 GB, free: 14.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5393, allocations: 3.938 kB / 0.6484 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5405, allocations: 407.6 kB / 0.6488 GB, free: 14.09 MB / 462.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.0002471/0.5407, allocations: 131.1 kB / 0.649 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006254/0.547, allocations: 2.289 MB / 0.6512 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.547, allocations: 0 / 0.6512 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004328/0.5514, allocations: 1.467 MB / 0.6526 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.5521, allocations: 85.2 kB / 0.6527 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.5553, allocations: 2.102 MB / 0.6548 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5559, allocations: 1.025 MB / 0.6558 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.5562, allocations: 78.19 kB / 0.6558 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.5564, allocations: 59.42 kB / 0.6559 GB, free: 6.777 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5564, allocations: 0 / 0.6559 GB, free: 6.777 MB / 462.1 MB Notification: Performance of Templates: time 0.03331/0.5897, allocations: 20.11 MB / 0.6755 GB, free: 2.68 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)