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.001216/0.001217, allocations: 177.5 kB / 15.42 MB, free: 5.918 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.455/1.455, allocations: 222.9 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007435, allocations: 94.81 kB / 289.8 MB, free: 14.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4925/0.4925, allocations: 78.41 MB / 418.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 12 kB / 498.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4541, allocations: 68.75 MB / 0.5539 GB, free: 39.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005631/0.4598, allocations: 6.086 MB / 0.5598 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.4631, allocations: 1.785 MB / 0.5616 GB, free: 36.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.4636, allocations: 12.62 kB / 0.5616 GB, free: 36.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.4641, allocations: 151.8 kB / 0.5617 GB, free: 36.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.4654, allocations: 0.6168 MB / 0.5623 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4665, allocations: 0.5328 MB / 0.5628 GB, free: 36.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.4676, allocations: 1.185 MB / 0.564 GB, free: 35.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.4679, allocations: 241.6 kB / 0.5642 GB, free: 35.9 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.4684, allocations: 473.3 kB / 0.5647 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.4691, allocations: 0.591 MB / 0.5653 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4692, allocations: 48.28 kB / 0.5653 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.4697, allocations: 176.6 kB / 0.5655 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.4699, allocations: 197.2 kB / 0.5657 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.4705, allocations: 0.4992 MB / 0.5662 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.4718, allocations: 1.28 MB / 0.5674 GB, free: 34.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4718, allocations: 0 / 0.5674 GB, free: 34.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4718, allocations: 0 / 0.5674 GB, free: 34.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4719, allocations: 1.25 kB / 0.5674 GB, free: 34.9 MB / 426.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.006483/0.4784, allocations: 2.146 MB / 0.5695 GB, free: 33.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4784, allocations: 10.56 kB / 0.5695 GB, free: 33.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.4831, allocations: 0.754 MB / 0.5702 GB, free: 33.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4843, allocations: 0.7078 MB / 0.5709 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4845, allocations: 247.2 kB / 0.5712 GB, free: 33.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4846, allocations: 71.31 kB / 0.5712 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.4865, allocations: 0.9587 MB / 0.5722 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4865, allocations: 3.938 kB / 0.5722 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.4866, allocations: 25.5 kB / 0.5722 GB, free: 32.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4866, allocations: 18.56 kB / 0.5722 GB, free: 32.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.4896, allocations: 0.977 MB / 0.5732 GB, free: 32.36 MB / 426.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.008104/0.4977, allocations: 3.168 MB / 0.5763 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.5005, allocations: 1.305 MB / 0.5775 GB, free: 29.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.5025, allocations: 0.7032 MB / 0.5782 GB, free: 29.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.5027, allocations: 16.11 kB / 0.5782 GB, free: 29.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5027, allocations: 46.03 kB / 0.5783 GB, free: 29.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.168e-06/0.5028, allocations: 0 / 0.5783 GB, free: 29.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.03744/0.5402, allocations: 6.763 MB / 0.5849 GB, free: 28.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5403, allocations: 63.48 kB / 0.585 GB, free: 28.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.5417, allocations: 0.8036 MB / 0.5857 GB, free: 27.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.542, allocations: 40.89 kB / 0.5858 GB, free: 27.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.5424, allocations: 426.9 kB / 0.5862 GB, free: 27.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.5428, allocations: 296.5 kB / 0.5865 GB, free: 27.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.543, allocations: 96.8 kB / 0.5866 GB, free: 27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.5431, allocations: 343.7 kB / 0.5869 GB, free: 26.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.545, allocations: 0.6514 MB / 0.5875 GB, free: 26.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.5467, allocations: 0.7825 MB / 0.5883 GB, free: 26.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02615/0.5729, allocations: 4.49 MB / 0.5927 GB, free: 24.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.5729, allocations: 2.031 kB / 0.5927 GB, free: 24.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.02091/0.5938, allocations: 4.116 MB / 0.5967 GB, free: 23.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.5939, allocations: 7 kB / 0.5967 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.594, allocations: 2.406 kB / 0.5967 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009969/0.6039, allocations: 1.782 MB / 0.5984 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.6054, allocations: 170.8 kB / 0.5986 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/0.6365, allocations: 8.587 MB / 0.607 GB, free: 18.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.6386, allocations: 150.2 kB / 0.6071 GB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6389, allocations: 37.41 kB / 0.6072 GB, free: 18.48 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.0006929/0.6396, allocations: 235.8 kB / 0.6074 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/0.6399, allocations: 103.3 kB / 0.6075 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/0.6584, allocations: 3.829 MB / 0.6112 GB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/0.6585, allocations: 12.41 kB / 0.6112 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.6585, allocations: 0 / 0.6112 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/0.6585, allocations: 3.984 kB / 0.6113 GB, free: 16.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.679, allocations: 5.35 MB / 0.6165 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.6792, allocations: 4 kB / 0.6165 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6802, allocations: 91.83 kB / 0.6166 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008929/0.6891, allocations: 1.747 MB / 0.6183 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/0.6895, allocations: 16 kB / 0.6183 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/0.7148, allocations: 7.339 MB / 0.6255 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.7149, allocations: 0 / 0.6255 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.7299, allocations: 4.712 MB / 0.6301 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.7305, allocations: 191.6 kB / 0.6302 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7306, allocations: 12 kB / 0.6303 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.7316, allocations: 95.89 kB / 0.6303 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006594/0.7322, allocations: 204.4 kB / 0.6305 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.7323, allocations: 20 kB / 0.6306 GB, free: 12.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006856/0.733, allocations: 0.5421 MB / 0.6311 GB, free: 11.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.854e-06/0.733, allocations: 0 / 0.6311 GB, free: 11.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001355/0.7344, allocations: 415.5 kB / 0.6315 GB, free: 11.39 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 (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.000255/0.7346, allocations: 123.1 kB / 0.6316 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006167/0.7408, allocations: 2.274 MB / 0.6338 GB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.7408, allocations: 0 / 0.6338 GB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.7452, allocations: 1.466 MB / 0.6353 GB, free: 7.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008711/0.7461, allocations: 72.67 kB / 0.6353 GB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.7492, allocations: 2.1 MB / 0.6374 GB, free: 5.309 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.7497, allocations: 1.033 MB / 0.6384 GB, free: 4.246 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.75, allocations: 78.17 kB / 0.6385 GB, free: 4.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.7502, allocations: 55.38 kB / 0.6385 GB, free: 4.113 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7502, allocations: 0 / 0.6385 GB, free: 4.113 MB / 442.7 MB Notification: Performance of Templates: time 0.03095/0.7812, allocations: 19.65 MB / 0.6577 GB, free: 484 kB / 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)