Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.445/1.445, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001625/0.001625, allocations: 188.5 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5282/0.5282, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 72.16 kB / 0.5734 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1585, allocations: 71.29 MB / 0.643 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00656/0.1651, allocations: 5.703 MB / 0.6486 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.169, allocations: 1.724 MB / 0.6503 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008283/0.1698, allocations: 11.94 kB / 0.6503 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1704, allocations: 202.3 kB / 0.6505 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.1724, allocations: 0.6872 MB / 0.6511 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1737, allocations: 0.5591 MB / 0.6517 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.1753, allocations: 1.226 MB / 0.6529 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.1758, allocations: 283 kB / 0.6531 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.1765, allocations: 0.5134 MB / 0.6536 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.1772, allocations: 0.6338 MB / 0.6543 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1774, allocations: 88 kB / 0.6543 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.1778, allocations: 223.9 kB / 0.6546 GB, free: 7.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.1781, allocations: 238.9 kB / 0.6548 GB, free: 7.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.1785, allocations: 0.5398 MB / 0.6553 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1801, allocations: 1.335 MB / 0.6566 GB, free: 5.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1801, allocations: 4 kB / 0.6566 GB, free: 5.566 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1801, allocations: 0 / 0.6566 GB, free: 5.566 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.1802, allocations: 0 / 0.6566 GB, free: 5.566 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008103/0.1883, allocations: 2.329 MB / 0.6589 GB, free: 3.184 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1884, allocations: 12.03 kB / 0.6589 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.1935, allocations: 0.7557 MB / 0.6596 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1949, allocations: 0.7049 MB / 0.6603 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.1952, allocations: 243.5 kB / 0.6606 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.1954, allocations: 68 kB / 0.6606 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.1976, allocations: 0.9395 MB / 0.6615 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.1977, allocations: 3.938 kB / 0.6616 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.1978, allocations: 32 kB / 0.6616 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1978, allocations: 16 kB / 0.6616 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.2, allocations: 0.9656 MB / 0.6625 GB, free: 15.36 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.005874/0.2059, allocations: 3.131 MB / 0.6656 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.2082, allocations: 1.316 MB / 0.6669 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.2098, allocations: 0.6983 MB / 0.6676 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.52e-05/0.2099, allocations: 12.66 kB / 0.6676 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.21, allocations: 47.16 kB / 0.6676 GB, free: 9.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 4.208e-06/0.21, allocations: 0 / 0.6676 GB, free: 9.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.03025/0.2402, allocations: 6.696 MB / 0.6742 GB, free: 3.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.2403, allocations: 64.05 kB / 0.6742 GB, free: 3.062 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.2416, allocations: 0.7905 MB / 0.675 GB, free: 2.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.2419, allocations: 45.64 kB / 0.675 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.2423, allocations: 428.4 kB / 0.6754 GB, free: 1.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.2428, allocations: 291.8 kB / 0.6757 GB, free: 1.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/0.2433, allocations: 178.5 kB / 0.6759 GB, free: 1.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2434, allocations: 341.9 kB / 0.6762 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.245, allocations: 0.6386 MB / 0.6768 GB, free: 340 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.2467, allocations: 0.7627 MB / 0.6776 GB, free: 15.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.2652, allocations: 4.449 MB / 0.6819 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.2653, allocations: 4 kB / 0.6819 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01426/0.2796, allocations: 4.035 MB / 0.6859 GB, free: 7.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.2797, allocations: 9.25 kB / 0.6859 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.2797, allocations: 0 / 0.6859 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006744/0.2865, allocations: 1.866 MB / 0.6877 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000934/0.2875, allocations: 163.8 kB / 0.6879 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.311, allocations: 9.083 MB / 0.6967 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.3125, allocations: 155 kB / 0.6969 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.3128, allocations: 39.92 kB / 0.6969 GB, free: 11.54 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0006726/0.3135, allocations: 230.1 kB / 0.6971 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.3139, allocations: 98.78 kB / 0.6972 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.3274, allocations: 3.817 MB / 0.701 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3274, allocations: 8 kB / 0.701 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3274, allocations: 0 / 0.701 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.3275, allocations: 11.97 kB / 0.701 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.3438, allocations: 5.329 MB / 0.7062 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.3439, allocations: 4 kB / 0.7062 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.3446, allocations: 87.89 kB / 0.7063 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006355/0.3509, allocations: 1.741 MB / 0.708 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.3512, allocations: 19.98 kB / 0.708 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/0.3718, allocations: 8.068 MB / 0.7159 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3718, allocations: 0 / 0.7159 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.3875, allocations: 4.689 MB / 0.7205 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.388, allocations: 191.7 kB / 0.7206 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.3884, allocations: 19.94 kB / 0.7207 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.3896, allocations: 87.89 kB / 0.7207 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/0.3904, allocations: 192.7 kB / 0.7209 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.3905, allocations: 28 kB / 0.7209 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008337/0.3913, allocations: 0.5264 MB / 0.7215 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3913, allocations: 0 / 0.7215 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001656/0.393, allocations: 407.5 kB / 0.7219 GB, free: 1.648 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0003289/0.3934, allocations: 123.1 kB / 0.722 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007035/0.4004, allocations: 2.302 MB / 0.7242 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4004, allocations: 0 / 0.7242 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004902/0.4053, allocations: 1.504 MB / 0.7257 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4064, allocations: 75.31 kB / 0.7258 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.4102, allocations: 1.684 MB / 0.7274 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.411, allocations: 1.029 MB / 0.7284 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.4113, allocations: 63.42 kB / 0.7285 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.4113, allocations: 0 / 0.7285 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.02945/0.4408, allocations: 17.67 MB / 0.7457 GB, free: 9.078 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)