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.006985/0.006985, allocations: 95.31 kB / 15.73 MB, free: 6.055 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.43/1.43, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001611/0.001611, allocations: 192.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5467/0.5467, allocations: 91.9 MB / 431.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.95 kB / 0.5727 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 71.29 MB / 0.6423 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006331/0.1407, allocations: 5.754 MB / 0.648 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.144, allocations: 1.739 MB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.1445, allocations: 11.94 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.145, allocations: 202.3 kB / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.1466, allocations: 0.691 MB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1478, allocations: 0.5578 MB / 0.6511 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.149, allocations: 1.257 MB / 0.6523 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.1495, allocations: 275.1 kB / 0.6526 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.1501, allocations: 0.5212 MB / 0.6531 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/0.1507, allocations: 0.6417 MB / 0.6537 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.1509, allocations: 88 kB / 0.6538 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1513, allocations: 227.9 kB / 0.654 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.1515, allocations: 246.9 kB / 0.6542 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.1519, allocations: 0.5436 MB / 0.6548 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1533, allocations: 1.354 MB / 0.6561 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1533, allocations: 0 / 0.6561 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1534, allocations: 0 / 0.6561 GB, free: 5.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1534, allocations: 0 / 0.6561 GB, free: 5.441 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.00742/0.1608, allocations: 2.392 MB / 0.6584 GB, free: 2.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1609, allocations: 12.03 kB / 0.6584 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/0.1659, allocations: 0.7602 MB / 0.6592 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.1671, allocations: 0.7174 MB / 0.6599 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.1674, allocations: 252.1 kB / 0.6601 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1676, allocations: 72 kB / 0.6602 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.1696, allocations: 0.9559 MB / 0.6611 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1696, allocations: 3.938 kB / 0.6611 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.1697, allocations: 24 kB / 0.6612 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1697, allocations: 16 kB / 0.6612 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.1718, allocations: 0.98 MB / 0.6621 GB, free: 15.12 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.005044/0.1768, allocations: 3.159 MB / 0.6652 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.1789, allocations: 1.306 MB / 0.6665 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.1803, allocations: 0.7038 MB / 0.6672 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1804, allocations: 16.62 kB / 0.6672 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1805, allocations: 43.22 kB / 0.6672 GB, free: 9.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.514e-06/0.1805, allocations: 0 / 0.6672 GB, free: 9.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02777/0.2082, allocations: 6.767 MB / 0.6738 GB, free: 2.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.2084, allocations: 60.06 kB / 0.6739 GB, free: 2.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.2095, allocations: 0.8026 MB / 0.6747 GB, free: 1.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.2097, allocations: 45.64 kB / 0.6747 GB, free: 1.859 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.2101, allocations: 441 kB / 0.6751 GB, free: 1.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.2104, allocations: 301.4 kB / 0.6754 GB, free: 1.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.2108, allocations: 182.9 kB / 0.6756 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.211, allocations: 349.9 kB / 0.6759 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.2124, allocations: 0.6467 MB / 0.6766 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.214, allocations: 0.7756 MB / 0.6773 GB, free: 15.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/0.2311, allocations: 4.5 MB / 0.6817 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2312, allocations: 0 / 0.6817 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01288/0.2441, allocations: 4.118 MB / 0.6857 GB, free: 6.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2441, allocations: 10.03 kB / 0.6858 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.2441, allocations: 15.92 kB / 0.6858 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006074/0.2502, allocations: 1.783 MB / 0.6875 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.2511, allocations: 167.8 kB / 0.6877 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.2726, allocations: 9.334 MB / 0.6968 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.274, allocations: 155.3 kB / 0.6969 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.2742, allocations: 35.98 kB / 0.697 GB, free: 10.82 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.0004387/0.2746, allocations: 222.2 kB / 0.6972 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.2748, allocations: 103.3 kB / 0.6973 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.2875, allocations: 3.837 MB / 0.701 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2876, allocations: 11.94 kB / 0.701 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2876, allocations: 0 / 0.701 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.2876, allocations: 3.984 kB / 0.701 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.3022, allocations: 5.364 MB / 0.7063 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.3023, allocations: 0 / 0.7063 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.3029, allocations: 95.88 kB / 0.7064 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005926/0.3088, allocations: 1.741 MB / 0.7081 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.309, allocations: 12 kB / 0.7081 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/0.3278, allocations: 8.065 MB / 0.716 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3279, allocations: 7.922 kB / 0.716 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.3424, allocations: 4.717 MB / 0.7206 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.3428, allocations: 192.2 kB / 0.7208 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.343, allocations: 16 kB / 0.7208 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.3439, allocations: 91.89 kB / 0.7209 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/0.3445, allocations: 200.7 kB / 0.7211 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.3446, allocations: 19.98 kB / 0.7211 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007014/0.3453, allocations: 0.5343 MB / 0.7216 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3453, allocations: 0 / 0.7216 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001124/0.3465, allocations: 407.7 kB / 0.722 GB, free: 0.832 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.0002471/0.3467, allocations: 135 kB / 0.7221 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006328/0.3531, allocations: 2.334 MB / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3531, allocations: 4.062 kB / 0.7244 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004505/0.3576, allocations: 1.51 MB / 0.7259 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.3584, allocations: 83.27 kB / 0.7259 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.3617, allocations: 1.759 MB / 0.7277 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.3624, allocations: 1.029 MB / 0.7287 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.3627, allocations: 82.19 kB / 0.7287 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.3628, allocations: 63.36 kB / 0.7288 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.3629, allocations: 0 / 0.7288 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.03315/0.396, allocations: 22.59 MB / 0.7509 GB, free: 3.141 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)