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.001562/0.001562, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.514/1.514, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.001556/0.001556, allocations: 192.5 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5219/0.5219, allocations: 91.89 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002895, allocations: 76.72 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1606, allocations: 71.28 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006147/0.1668, allocations: 5.769 MB / 0.6486 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1702, allocations: 1.739 MB / 0.6503 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.1707, allocations: 12 kB / 0.6503 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.1711, allocations: 206.2 kB / 0.6505 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.1727, allocations: 0.6794 MB / 0.6512 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1739, allocations: 0.5662 MB / 0.6518 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1752, allocations: 1.249 MB / 0.653 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.1756, allocations: 275.1 kB / 0.6532 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.1762, allocations: 0.5251 MB / 0.6538 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007085/0.1769, allocations: 0.6455 MB / 0.6544 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1771, allocations: 84 kB / 0.6545 GB, free: 7.805 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.1775, allocations: 227.9 kB / 0.6547 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1778, allocations: 242.9 kB / 0.6549 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.1782, allocations: 0.5436 MB / 0.6554 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1795, allocations: 1.351 MB / 0.6568 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1795, allocations: 0 / 0.6568 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1795, allocations: 4 kB / 0.6568 GB, free: 5.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1795, allocations: 0 / 0.6568 GB, free: 5.438 MB / 462.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.007686/0.1872, allocations: 2.349 MB / 0.6591 GB, free: 3.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1873, allocations: 8.031 kB / 0.6591 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.1925, allocations: 0.7596 MB / 0.6598 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.194, allocations: 0.7127 MB / 0.6605 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.1944, allocations: 252.1 kB / 0.6607 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.1946, allocations: 71.94 kB / 0.6608 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1968, allocations: 0.956 MB / 0.6617 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1968, allocations: 3.938 kB / 0.6618 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.8e-05/0.1969, allocations: 27.98 kB / 0.6618 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1969, allocations: 16 kB / 0.6618 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.1991, allocations: 0.9799 MB / 0.6627 GB, free: 15.17 MB / 478.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.005817/0.205, allocations: 3.15 MB / 0.6658 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.2071, allocations: 1.31 MB / 0.6671 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.2086, allocations: 0.6999 MB / 0.6678 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.2087, allocations: 8.656 kB / 0.6678 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.2088, allocations: 47.14 kB / 0.6678 GB, free: 9.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.2088, allocations: 0 / 0.6678 GB, free: 9.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.0281/0.2369, allocations: 6.767 MB / 0.6744 GB, free: 2.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.237, allocations: 60.06 kB / 0.6745 GB, free: 2.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.2383, allocations: 0.8025 MB / 0.6753 GB, free: 1.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.2385, allocations: 41.7 kB / 0.6753 GB, free: 1.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.2388, allocations: 436.3 kB / 0.6757 GB, free: 1.484 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.2392, allocations: 291.8 kB / 0.676 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.2396, allocations: 182.9 kB / 0.6762 GB, free: 1.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2397, allocations: 345.9 kB / 0.6765 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.2412, allocations: 0.6507 MB / 0.6772 GB, free: 16 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.2428, allocations: 0.7718 MB / 0.6779 GB, free: 15.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.2613, allocations: 4.496 MB / 0.6823 GB, free: 10.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.2613, allocations: 4 kB / 0.6823 GB, free: 10.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01397/0.2753, allocations: 4.117 MB / 0.6863 GB, free: 6.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.2754, allocations: 8 kB / 0.6863 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2754, allocations: 0 / 0.6863 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006587/0.282, allocations: 1.795 MB / 0.6881 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.2829, allocations: 163.8 kB / 0.6883 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.3058, allocations: 9.317 MB / 0.6973 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.3073, allocations: 151 kB / 0.6975 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.3075, allocations: 39.98 kB / 0.6975 GB, free: 10.91 MB / 0.4981 GB 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.0004944/0.308, allocations: 226.1 kB / 0.6977 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.3083, allocations: 98.78 kB / 0.6978 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.3215, allocations: 3.833 MB / 0.7016 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3216, allocations: 8 kB / 0.7016 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3216, allocations: 7.984 kB / 0.7016 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3216, allocations: 7.922 kB / 0.7016 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.337, allocations: 5.353 MB / 0.7068 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3371, allocations: 0 / 0.7068 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.3377, allocations: 91.88 kB / 0.7069 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006284/0.344, allocations: 1.737 MB / 0.7086 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.3443, allocations: 19.98 kB / 0.7086 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.364, allocations: 8.052 MB / 0.7165 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.364, allocations: 11.94 kB / 0.7165 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.3795, allocations: 4.712 MB / 0.7211 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.38, allocations: 187.7 kB / 0.7213 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.3803, allocations: 12 kB / 0.7213 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.3814, allocations: 91.89 kB / 0.7214 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006926/0.3821, allocations: 200.7 kB / 0.7216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/0.3822, allocations: 19.98 kB / 0.7216 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008221/0.3831, allocations: 0.5383 MB / 0.7221 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 0 / 0.7221 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001546/0.3846, allocations: 407.5 kB / 0.7225 GB, free: 0.9492 MB / 0.5137 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.0003134/0.3849, allocations: 135.1 kB / 0.7226 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007039/0.392, allocations: 2.326 MB / 0.7249 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.392, allocations: 0 / 0.7249 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/0.3971, allocations: 1.504 MB / 0.7264 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3982, allocations: 88.52 kB / 0.7265 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.4018, allocations: 1.758 MB / 0.7282 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.4025, allocations: 1.033 MB / 0.7292 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4028, allocations: 63.42 kB / 0.7293 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.4028, allocations: 0 / 0.7293 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of Templates: time 0.02781/0.4307, allocations: 17.85 MB / 0.7467 GB, free: 8.082 MB / 0.545 GB 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)