Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 169.6 kB / 16.1 MB, free: 5.688 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.694/1.694, allocations: 223.3 MB / 240.1 MB, free: 11.68 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.000962/0.000962, allocations: 93.61 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5428/0.5428, allocations: 78.61 MB / 421 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 12 kB / 0.4894 GB, free: 9.281 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004532/0.387, allocations: 5.585 MB / 0.5626 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.39, allocations: 1.767 MB / 0.5643 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.3904, allocations: 12 kB / 0.5643 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.3908, allocations: 151 kB / 0.5645 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.3921, allocations: 0.5965 MB / 0.565 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3932, allocations: 0.5208 MB / 0.5656 GB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3944, allocations: 1.163 MB / 0.5667 GB, free: 8.992 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.3948, allocations: 239.6 kB / 0.5669 GB, free: 8.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.3954, allocations: 469.7 kB / 0.5674 GB, free: 8.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.396, allocations: 0.5792 MB / 0.5679 GB, free: 7.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.3961, allocations: 44 kB / 0.568 GB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.3966, allocations: 179.8 kB / 0.5681 GB, free: 7.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.3967, allocations: 198.9 kB / 0.5683 GB, free: 7.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.3971, allocations: 0.5103 MB / 0.5688 GB, free: 6.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.3979, allocations: 0.9836 MB / 0.5698 GB, free: 5.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3979, allocations: 0 / 0.5698 GB, free: 5.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3979, allocations: 0 / 0.5698 GB, free: 5.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3979, allocations: 0 / 0.5698 GB, free: 5.785 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006129/0.404, allocations: 2.182 MB / 0.5719 GB, free: 3.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4041, allocations: 8.031 kB / 0.5719 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.4086, allocations: 0.7712 MB / 0.5727 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.4096, allocations: 0.6972 MB / 0.5734 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.4099, allocations: 263.5 kB / 0.5736 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.41, allocations: 64 kB / 0.5737 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.4118, allocations: 1.014 MB / 0.5747 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4119, allocations: 7.938 kB / 0.5747 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.4119, allocations: 24 kB / 0.5747 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.412, allocations: 16 kB / 0.5747 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.414, allocations: 1.055 MB / 0.5757 GB, free: 15.55 MB / 394.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.005417/0.4194, allocations: 3.213 MB / 0.5789 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.4217, allocations: 1.388 MB / 0.5802 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.4231, allocations: 0.7724 MB / 0.581 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4232, allocations: 20.62 kB / 0.581 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4233, allocations: 43.22 kB / 0.5811 GB, free: 9.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.4233, allocations: 0 / 0.5811 GB, free: 9.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02677/0.4501, allocations: 8.321 MB / 0.5892 GB, free: 1.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.4502, allocations: 60.06 kB / 0.5892 GB, free: 1.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4515, allocations: 0.7943 MB / 0.59 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.4516, allocations: 41.64 kB / 0.5901 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.452, allocations: 428.5 kB / 0.5905 GB, free: 128 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.4523, allocations: 288 kB / 0.5907 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.4525, allocations: 93.66 kB / 0.5908 GB, free: 15.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4527, allocations: 345.9 kB / 0.5912 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4542, allocations: 0.7128 MB / 0.5919 GB, free: 14.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4557, allocations: 0.8447 MB / 0.5927 GB, free: 13.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/0.4725, allocations: 4.945 MB / 0.5975 GB, free: 8.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4725, allocations: 0 / 0.5975 GB, free: 8.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01372/0.4863, allocations: 4.95 MB / 0.6023 GB, free: 3.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.4863, allocations: 4 kB / 0.6023 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4863, allocations: 4 kB / 0.6023 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.4928, allocations: 2.175 MB / 0.6045 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.4936, allocations: 171.8 kB / 0.6046 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.514, allocations: 9.365 MB / 0.6138 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.5154, allocations: 187.1 kB / 0.614 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.5155, allocations: 39.98 kB / 0.614 GB, free: 7.785 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004582/0.516, allocations: 217.7 kB / 0.6142 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5161, allocations: 102.7 kB / 0.6143 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.5292, allocations: 4.727 MB / 0.6189 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5293, allocations: 11.94 kB / 0.6189 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5293, allocations: 4 kB / 0.6189 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.5293, allocations: 7.922 kB / 0.6189 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.5444, allocations: 6.235 MB / 0.625 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5444, allocations: 0 / 0.625 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.5451, allocations: 95.89 kB / 0.6251 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006104/0.5512, allocations: 2.05 MB / 0.6271 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5513, allocations: 19.98 kB / 0.6271 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.5692, allocations: 8.237 MB / 0.6352 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5692, allocations: 0 / 0.6352 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.5841, allocations: 5.673 MB / 0.6407 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.5846, allocations: 187.7 kB / 0.6409 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5847, allocations: 12 kB / 0.6409 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/0.5856, allocations: 132 kB / 0.641 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006132/0.5862, allocations: 192.7 kB / 0.6412 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.5863, allocations: 20 kB / 0.6412 GB, free: 11.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006877/0.587, allocations: 0.538 MB / 0.6418 GB, free: 10.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.587, allocations: 0 / 0.6418 GB, free: 10.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001241/0.5882, allocations: 403.5 kB / 0.6422 GB, free: 10.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0003224/0.5886, allocations: 123.2 kB / 0.6423 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006366/0.5949, allocations: 2.568 MB / 0.6448 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.595, allocations: 0.5625 kB / 0.6448 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.5994, allocations: 1.681 MB / 0.6464 GB, free: 6.184 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.6001, allocations: 75.31 kB / 0.6465 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.6032, allocations: 2.094 MB / 0.6485 GB, free: 3.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.6038, allocations: 1.029 MB / 0.6495 GB, free: 2.938 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.6041, allocations: 59.42 kB / 0.6496 GB, free: 2.879 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6041, allocations: 0 / 0.6496 GB, free: 2.879 MB / 458.7 MB Notification: Performance of Templates: time 0.02402/0.6281, allocations: 17.47 MB / 0.6667 GB, free: 1.391 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)