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.00778/0.00778, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.358/1.358, allocations: 222.9 MB / 239.4 MB, free: 4.52 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: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5049/0.5049, allocations: 91.89 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 81.59 kB / 0.5727 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 71.28 MB / 0.6423 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.00665/0.1256, allocations: 5.758 MB / 0.648 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.129, allocations: 1.735 MB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007498/0.1298, allocations: 12 kB / 0.6497 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.1304, allocations: 210.2 kB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.1324, allocations: 0.7254 MB / 0.6506 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1336, allocations: 0.5682 MB / 0.6511 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.135, allocations: 1.245 MB / 0.6523 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1355, allocations: 279.1 kB / 0.6526 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.1362, allocations: 0.5251 MB / 0.6531 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000794/0.137, allocations: 0.6416 MB / 0.6538 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.1373, allocations: 88 kB / 0.6538 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.1378, allocations: 227.9 kB / 0.6541 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.138, allocations: 246.8 kB / 0.6543 GB, free: 7.289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005806/0.1386, allocations: 0.5475 MB / 0.6548 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1401, allocations: 1.347 MB / 0.6561 GB, free: 5.387 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1401, allocations: 0 / 0.6561 GB, free: 5.387 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1401, allocations: 0 / 0.6561 GB, free: 5.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.37e-05/0.1402, allocations: 4 kB / 0.6561 GB, free: 5.383 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.008206/0.1484, allocations: 2.352 MB / 0.6584 GB, free: 2.977 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1484, allocations: 8.031 kB / 0.6584 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/0.1537, allocations: 0.7596 MB / 0.6592 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.1555, allocations: 0.7088 MB / 0.6599 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/0.1558, allocations: 256.1 kB / 0.6601 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.1561, allocations: 68 kB / 0.6602 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.1585, allocations: 0.956 MB / 0.6611 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1585, allocations: 3.938 kB / 0.6611 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.1586, allocations: 24 kB / 0.6612 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1586, allocations: 16 kB / 0.6612 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.1609, allocations: 0.9838 MB / 0.6621 GB, free: 15.11 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.005746/0.1667, allocations: 3.158 MB / 0.6652 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.1689, allocations: 1.305 MB / 0.6665 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.1704, allocations: 0.6999 MB / 0.6672 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/0.1705, allocations: 8.656 kB / 0.6672 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.1705, allocations: 43.2 kB / 0.6672 GB, free: 9.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.1705, allocations: 0 / 0.6672 GB, free: 9.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02923/0.1998, allocations: 6.767 MB / 0.6738 GB, free: 2.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1998, allocations: 60.06 kB / 0.6739 GB, free: 2.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.201, allocations: 0.8025 MB / 0.6747 GB, free: 1.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.2011, allocations: 37.7 kB / 0.6747 GB, free: 1.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.2015, allocations: 440.3 kB / 0.6751 GB, free: 1.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.2018, allocations: 291.8 kB / 0.6754 GB, free: 1.141 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.2022, allocations: 182.9 kB / 0.6756 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2024, allocations: 341.9 kB / 0.6759 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.2039, allocations: 0.6546 MB / 0.6765 GB, free: 15.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.2056, allocations: 0.7717 MB / 0.6773 GB, free: 15.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/0.2245, allocations: 4.492 MB / 0.6817 GB, free: 10.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.2245, allocations: 4 kB / 0.6817 GB, free: 10.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0145/0.239, allocations: 4.113 MB / 0.6857 GB, free: 6.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.2391, allocations: 8 kB / 0.6857 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2391, allocations: 0 / 0.6857 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006699/0.2458, allocations: 1.795 MB / 0.6875 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009305/0.2468, allocations: 167.7 kB / 0.6876 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/0.2707, allocations: 9.324 MB / 0.6967 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.2722, allocations: 151 kB / 0.6969 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.2724, allocations: 39.98 kB / 0.6969 GB, free: 10.86 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.0005643/0.273, allocations: 230.1 kB / 0.6971 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.2733, allocations: 98.78 kB / 0.6972 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.2869, allocations: 3.833 MB / 0.701 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.287, allocations: 8 kB / 0.701 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.287, allocations: 4 kB / 0.701 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.287, allocations: 3.984 kB / 0.701 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.3028, allocations: 5.349 MB / 0.7062 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.3029, allocations: 8 kB / 0.7062 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.3034, allocations: 91.83 kB / 0.7063 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/0.3096, allocations: 1.741 MB / 0.708 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.3098, allocations: 16 kB / 0.708 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.33, allocations: 8.052 MB / 0.7159 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.33, allocations: 11.88 kB / 0.7159 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.3457, allocations: 4.712 MB / 0.7205 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.3461, allocations: 187.7 kB / 0.7207 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.3465, allocations: 12 kB / 0.7207 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3476, allocations: 95.83 kB / 0.7208 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/0.3482, allocations: 196.7 kB / 0.721 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.3483, allocations: 20 kB / 0.721 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007428/0.3491, allocations: 0.5421 MB / 0.7215 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3491, allocations: 0 / 0.7215 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00139/0.3505, allocations: 407.5 kB / 0.7219 GB, free: 0.8906 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.0003121/0.3508, allocations: 133.4 kB / 0.722 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006864/0.3577, allocations: 2.333 MB / 0.7243 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3577, allocations: 0 / 0.7243 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004924/0.3627, allocations: 1.5 MB / 0.7258 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.3635, allocations: 83.27 kB / 0.7258 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.3669, allocations: 1.727 MB / 0.7275 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.3675, allocations: 1.033 MB / 0.7285 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.3678, allocations: 82.17 kB / 0.7286 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.368, allocations: 55.44 kB / 0.7287 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.368, allocations: 0 / 0.7287 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of Templates: time 0.0338/0.4018, allocations: 22.59 MB / 0.7507 GB, free: 3.262 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)