Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 221.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 103.7 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07197/0.07197, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3629/0.3629, allocations: 78.51 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 114.2 kB / 0.5255 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1342, allocations: 68.13 MB / 0.592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006568/0.1408, allocations: 6.123 MB / 0.598 GB, free: 9.492 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.1444, allocations: 1.76 MB / 0.5997 GB, free: 7.723 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.1454, allocations: 12 kB / 0.5997 GB, free: 7.711 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.1462, allocations: 159 kB / 0.5998 GB, free: 7.555 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1484, allocations: 0.6059 MB / 0.6004 GB, free: 6.949 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1497, allocations: 0.5298 MB / 0.601 GB, free: 6.426 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.1513, allocations: 1.206 MB / 0.6021 GB, free: 5.215 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.1517, allocations: 239.8 kB / 0.6024 GB, free: 4.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007305/0.1524, allocations: 497.6 kB / 0.6028 GB, free: 4.484 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.1532, allocations: 0.6143 MB / 0.6034 GB, free: 3.867 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.1535, allocations: 56 kB / 0.6035 GB, free: 3.812 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006006/0.1541, allocations: 195.8 kB / 0.6037 GB, free: 3.621 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1544, allocations: 211 kB / 0.6039 GB, free: 3.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005876/0.1549, allocations: 0.5163 MB / 0.6044 GB, free: 2.895 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1563, allocations: 1.3 MB / 0.6056 GB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1564, allocations: 4 kB / 0.6057 GB, free: 1.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1564, allocations: 0 / 0.6057 GB, free: 1.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.1564, allocations: 0 / 0.6057 GB, free: 1.586 MB / 394.7 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.008034/0.1645, allocations: 2.353 MB / 0.608 GB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1645, allocations: 11.98 kB / 0.608 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.1692, allocations: 0.7596 MB / 0.6087 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.1704, allocations: 0.7088 MB / 0.6094 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.1707, allocations: 248.2 kB / 0.6096 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.1709, allocations: 71.94 kB / 0.6097 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.1729, allocations: 0.956 MB / 0.6106 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.173, allocations: 7.938 kB / 0.6106 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.1731, allocations: 27.98 kB / 0.6107 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1731, allocations: 16 kB / 0.6107 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.1752, allocations: 0.976 MB / 0.6116 GB, free: 11.32 MB / 410.7 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.005461/0.1806, allocations: 3.174 MB / 0.6147 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.1827, allocations: 1.307 MB / 0.616 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.1841, allocations: 0.7038 MB / 0.6167 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.1842, allocations: 16.66 kB / 0.6167 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1842, allocations: 39.2 kB / 0.6168 GB, free: 5.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.1842, allocations: 0 / 0.6168 GB, free: 5.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.02813/0.2124, allocations: 6.755 MB / 0.6234 GB, free: 15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.2125, allocations: 60.06 kB / 0.6234 GB, free: 14.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.2138, allocations: 0.8064 MB / 0.6242 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.2141, allocations: 41.7 kB / 0.6242 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.2144, allocations: 436.4 kB / 0.6247 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.2149, allocations: 291.8 kB / 0.6249 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/0.2154, allocations: 182.9 kB / 0.6251 GB, free: 13.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2155, allocations: 341.9 kB / 0.6254 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.217, allocations: 0.6506 MB / 0.6261 GB, free: 12.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.2187, allocations: 0.7756 MB / 0.6268 GB, free: 11.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.2369, allocations: 4.503 MB / 0.6312 GB, free: 6.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.2369, allocations: 0 / 0.6312 GB, free: 6.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01361/0.2505, allocations: 4.113 MB / 0.6352 GB, free: 2.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.2506, allocations: 8 kB / 0.6352 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.2506, allocations: 4 kB / 0.6352 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006452/0.2571, allocations: 1.787 MB / 0.637 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.2581, allocations: 167.7 kB / 0.6372 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2874/0.5456, allocations: 8.579 MB / 0.6455 GB, free: 46.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.5472, allocations: 151.8 kB / 0.6457 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.5473, allocations: 41.02 kB / 0.6457 GB, free: 46.96 MB / 426.7 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.0004154/0.5477, allocations: 228.3 kB / 0.6459 GB, free: 46.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5479, allocations: 106.6 kB / 0.646 GB, free: 46.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.5615, allocations: 3.829 MB / 0.6498 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.5616, allocations: 8.031 kB / 0.6498 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5616, allocations: 1.109 kB / 0.6498 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.5616, allocations: 8.219 kB / 0.6498 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.5767, allocations: 5.355 MB / 0.655 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.5768, allocations: 0.875 kB / 0.655 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.5774, allocations: 92.23 kB / 0.6551 GB, free: 44.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006197/0.5836, allocations: 1.75 MB / 0.6568 GB, free: 43.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.5838, allocations: 16.31 kB / 0.6568 GB, free: 43.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.6007, allocations: 7.341 MB / 0.664 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6008, allocations: 11.25 kB / 0.664 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0817/0.6825, allocations: 31.09 MB / 0.6944 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.6828, allocations: 191.7 kB / 0.6946 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.6832, allocations: 16 kB / 0.6946 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6843, allocations: 83.89 kB / 0.6947 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000725/0.685, allocations: 200.5 kB / 0.6948 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.6852, allocations: 24 kB / 0.6949 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006892/0.6858, allocations: 0.5382 MB / 0.6954 GB, free: 10.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6859, allocations: 0 / 0.6954 GB, free: 10.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002129/0.688, allocations: 0.5558 MB / 0.6959 GB, free: 9.633 MB / 426.7 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.0002933/0.6883, allocations: 122.1 kB / 0.696 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.6946, allocations: 2.288 MB / 0.6983 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6947, allocations: 0 / 0.6983 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.699, allocations: 1.467 MB / 0.6997 GB, free: 5.734 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.6999, allocations: 87.27 kB / 0.6998 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/0.7073, allocations: 3.333 MB / 0.7031 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008167/0.7082, allocations: 1.067 MB / 0.7041 GB, free: 1.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.7087, allocations: 82.17 kB / 0.7042 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.7089, allocations: 55.42 kB / 0.7042 GB, free: 1.031 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.709, allocations: 4 kB / 0.7042 GB, free: 1.027 MB / 426.7 MB Notification: Performance of Templates: time 0.0483/0.7573, allocations: 29.49 MB / 0.733 GB, free: 3.562 MB / 458.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)