Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008256/0.008256, allocations: 169.5 kB / 15.13 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 239.1 MB, free: 15.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007167/0.0007166, allocations: 94.83 kB / 290.3 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4583/0.4583, allocations: 78.61 MB / 420 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003509, allocations: 8 kB / 499.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 69.36 MB / 0.5559 GB, free: 1.832 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005263/0.147, allocations: 5.305 MB / 0.5611 GB, free: 12.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.1511, allocations: 1.682 MB / 0.5627 GB, free: 10.81 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.1517, allocations: 12 kB / 0.5627 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1521, allocations: 143 kB / 0.5629 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.1535, allocations: 0.5594 MB / 0.5634 GB, free: 10.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1545, allocations: 497.9 kB / 0.5639 GB, free: 9.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1556, allocations: 1.128 MB / 0.565 GB, free: 8.484 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.156, allocations: 219.3 kB / 0.5652 GB, free: 8.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.1564, allocations: 461.9 kB / 0.5656 GB, free: 7.805 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.157, allocations: 0.5716 MB / 0.5662 GB, free: 7.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1571, allocations: 48 kB / 0.5663 GB, free: 7.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.1575, allocations: 171.8 kB / 0.5664 GB, free: 7.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1577, allocations: 191 kB / 0.5666 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.1579, allocations: 201.1 kB / 0.5668 GB, free: 6.625 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.1588, allocations: 0.9935 MB / 0.5678 GB, free: 5.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1588, allocations: 0 / 0.5678 GB, free: 5.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1588, allocations: 4 kB / 0.5678 GB, free: 5.625 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1589, allocations: 0 / 0.5678 GB, free: 5.625 MB / 442.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.007082/0.1659, allocations: 2.197 MB / 0.5699 GB, free: 3.375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.166, allocations: 8.031 kB / 0.5699 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/0.171, allocations: 0.7751 MB / 0.5707 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.172, allocations: 0.6706 MB / 0.5713 GB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.1723, allocations: 268.1 kB / 0.5716 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1725, allocations: 71.98 kB / 0.5717 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.1745, allocations: 1.019 MB / 0.5726 GB, free: 496 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1745, allocations: 0 / 0.5726 GB, free: 496 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.1746, allocations: 28 kB / 0.5727 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1746, allocations: 19.95 kB / 0.5727 GB, free: 448 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2434/0.418, allocations: 1.053 MB / 0.5737 GB, free: 44.51 MB / 442.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.005576/0.4236, allocations: 3.227 MB / 0.5769 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4258, allocations: 1.373 MB / 0.5782 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.4275, allocations: 0.7779 MB / 0.579 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4276, allocations: 11.25 kB / 0.579 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.4276, allocations: 43.06 kB / 0.579 GB, free: 43.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 5.099e-06/0.4277, allocations: 0.625 kB / 0.579 GB, free: 43.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.03009/0.4577, allocations: 8.372 MB / 0.5872 GB, free: 42.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.4578, allocations: 61.31 kB / 0.5873 GB, free: 42.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4591, allocations: 0.7958 MB / 0.588 GB, free: 42.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.4592, allocations: 43.52 kB / 0.5881 GB, free: 42.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.4596, allocations: 428.1 kB / 0.5885 GB, free: 42.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.46, allocations: 297.4 kB / 0.5888 GB, free: 41.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4601, allocations: 19.44 kB / 0.5888 GB, free: 41.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.4602, allocations: 347.5 kB / 0.5891 GB, free: 41.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4618, allocations: 0.728 MB / 0.5898 GB, free: 41.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.4635, allocations: 0.8413 MB / 0.5907 GB, free: 41.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.4653, allocations: 0.7679 MB / 0.5914 GB, free: 41.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4653, allocations: 0 / 0.5914 GB, free: 41.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01421/0.4796, allocations: 4.978 MB / 0.5963 GB, free: 40.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4796, allocations: 3.375 kB / 0.5963 GB, free: 40.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4796, allocations: 2.969 kB / 0.5963 GB, free: 40.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006613/0.4863, allocations: 2.1 MB / 0.5983 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.4872, allocations: 183.8 kB / 0.5985 GB, free: 40.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.5081, allocations: 9.526 MB / 0.6078 GB, free: 36.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5096, allocations: 196.7 kB / 0.608 GB, free: 36.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.5098, allocations: 32.53 kB / 0.608 GB, free: 36.05 MB / 442.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.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.5103, allocations: 227.5 kB / 0.6082 GB, free: 35.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.5106, allocations: 107.1 kB / 0.6083 GB, free: 35.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.5247, allocations: 4.732 MB / 0.613 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5248, allocations: 8.656 kB / 0.613 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5248, allocations: 1.125 kB / 0.613 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5248, allocations: 8.312 kB / 0.613 GB, free: 34.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.5426, allocations: 6.255 MB / 0.6191 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.5426, allocations: 8.797 kB / 0.6191 GB, free: 32.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.5433, allocations: 94.94 kB / 0.6192 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007163/0.5504, allocations: 2.044 MB / 0.6212 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.5507, allocations: 16.25 kB / 0.6212 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.5697, allocations: 8.208 MB / 0.6292 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5698, allocations: 0 / 0.6292 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.585, allocations: 5.693 MB / 0.6348 GB, free: 23.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.5855, allocations: 192.4 kB / 0.635 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.5858, allocations: 15.95 kB / 0.635 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5869, allocations: 133 kB / 0.6351 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006812/0.5876, allocations: 196.6 kB / 0.6353 GB, free: 23.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.5877, allocations: 20 kB / 0.6353 GB, free: 23.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006646/0.5884, allocations: 0.5343 MB / 0.6358 GB, free: 22.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5884, allocations: 0 / 0.6358 GB, free: 22.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001434/0.5898, allocations: 407.5 kB / 0.6362 GB, free: 22.17 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003032/0.5901, allocations: 122.5 kB / 0.6363 GB, free: 22.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006181/0.5963, allocations: 2.569 MB / 0.6388 GB, free: 19.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5964, allocations: 0 / 0.6388 GB, free: 19.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004625/0.601, allocations: 1.694 MB / 0.6405 GB, free: 17.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.602, allocations: 76.19 kB / 0.6406 GB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.6053, allocations: 2.041 MB / 0.6426 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.6059, allocations: 1.029 MB / 0.6436 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.6063, allocations: 75.64 kB / 0.6436 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.6065, allocations: 59.98 kB / 0.6437 GB, free: 14.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6065, allocations: 0 / 0.6437 GB, free: 14.49 MB / 442.7 MB Notification: Performance of Templates: time 0.02948/0.636, allocations: 19.13 MB / 0.6624 GB, free: 11.52 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)