Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008065/0.008065, allocations: 101.5 kB / 15.73 MB, free: 6.48 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.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001407/0.001407, allocations: 195.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4924/0.4924, allocations: 78.52 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 79.89 kB / 0.5536 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3286, allocations: 68.17 MB / 0.6202 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005008/0.3337, allocations: 5.677 MB / 0.6257 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3367, allocations: 1.72 MB / 0.6274 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.3378, allocations: 8 kB / 0.6274 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.3385, allocations: 202.3 kB / 0.6276 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.3407, allocations: 0.7412 MB / 0.6283 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3418, allocations: 0.5455 MB / 0.6289 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3432, allocations: 1.233 MB / 0.6301 GB, free: 64 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.3437, allocations: 279 kB / 0.6303 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009028/0.3446, allocations: 0.5095 MB / 0.6308 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007976/0.3454, allocations: 0.6338 MB / 0.6315 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.3456, allocations: 88 kB / 0.6315 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.3461, allocations: 223.9 kB / 0.6318 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.3464, allocations: 246.9 kB / 0.632 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.347, allocations: 0.5397 MB / 0.6325 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.3485, allocations: 1.337 MB / 0.6338 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3485, allocations: 0 / 0.6338 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3485, allocations: 0 / 0.6338 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.3486, allocations: 4 kB / 0.6338 GB, free: 12.2 MB / 446.1 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.007757/0.3563, allocations: 2.325 MB / 0.6361 GB, free: 9.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3564, allocations: 12.03 kB / 0.6361 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.3615, allocations: 0.7596 MB / 0.6369 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3627, allocations: 0.6894 MB / 0.6375 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.363, allocations: 251.5 kB / 0.6378 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.3632, allocations: 67.91 kB / 0.6378 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.3654, allocations: 0.951 MB / 0.6388 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.3654, allocations: 7.938 kB / 0.6388 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3656, allocations: 28 kB / 0.6388 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.3656, allocations: 12 kB / 0.6388 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.3682, allocations: 0.9733 MB / 0.6398 GB, free: 5.977 MB / 446.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.006309/0.3745, allocations: 3.124 MB / 0.6428 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.3768, allocations: 1.323 MB / 0.6441 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.3784, allocations: 0.6944 MB / 0.6448 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.3785, allocations: 12.64 kB / 0.6448 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3786, allocations: 47.16 kB / 0.6448 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.716e-06/0.3786, allocations: 0 / 0.6448 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02913/0.4077, allocations: 6.697 MB / 0.6514 GB, free: 9.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.4078, allocations: 64 kB / 0.6514 GB, free: 9.684 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.409, allocations: 0.7865 MB / 0.6522 GB, free: 8.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.4092, allocations: 41.7 kB / 0.6522 GB, free: 8.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.4096, allocations: 424.5 kB / 0.6526 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.41, allocations: 291.8 kB / 0.6529 GB, free: 8.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.4104, allocations: 178.5 kB / 0.6531 GB, free: 7.953 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4105, allocations: 345.9 kB / 0.6534 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.4121, allocations: 0.6425 MB / 0.6541 GB, free: 6.969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4137, allocations: 0.7628 MB / 0.6548 GB, free: 6.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.4317, allocations: 4.449 MB / 0.6591 GB, free: 1.688 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4317, allocations: 0 / 0.6591 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01455/0.4463, allocations: 4.039 MB / 0.6631 GB, free: 13.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4463, allocations: 7.984 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4463, allocations: 4 kB / 0.6631 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006733/0.4531, allocations: 1.862 MB / 0.6649 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.454, allocations: 159.8 kB / 0.6651 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/0.4776, allocations: 9.102 MB / 0.674 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.479, allocations: 155 kB / 0.6741 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4792, allocations: 35.98 kB / 0.6741 GB, free: 2.156 MB / 478.1 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.0005012/0.4797, allocations: 220.4 kB / 0.6744 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.48, allocations: 98.78 kB / 0.6744 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.4936, allocations: 3.825 MB / 0.6782 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.4936, allocations: 12 kB / 0.6782 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4936, allocations: 3.938 kB / 0.6782 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.4936, allocations: 3.984 kB / 0.6782 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.5088, allocations: 5.318 MB / 0.6834 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.5089, allocations: 7.938 kB / 0.6834 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.5094, allocations: 91.88 kB / 0.6835 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006171/0.5156, allocations: 1.749 MB / 0.6852 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.5157, allocations: 12 kB / 0.6852 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.535, allocations: 8.072 MB / 0.6931 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5351, allocations: 0 / 0.6931 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.5502, allocations: 4.677 MB / 0.6977 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.5505, allocations: 183.7 kB / 0.6978 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.5508, allocations: 24 kB / 0.6979 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/0.5518, allocations: 91.83 kB / 0.6979 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.5524, allocations: 196.7 kB / 0.6981 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.5525, allocations: 23.98 kB / 0.6982 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006943/0.5532, allocations: 0.5303 MB / 0.6987 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5532, allocations: 0 / 0.6987 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001191/0.5544, allocations: 407.5 kB / 0.6991 GB, free: 8.281 MB / 0.4981 GB 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.0002546/0.5547, allocations: 123.2 kB / 0.6992 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006618/0.5613, allocations: 2.306 MB / 0.7014 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5613, allocations: 0 / 0.7014 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004728/0.566, allocations: 1.496 MB / 0.7029 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.5668, allocations: 75.31 kB / 0.703 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.5701, allocations: 1.657 MB / 0.7046 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.5708, allocations: 1.025 MB / 0.7056 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.5711, allocations: 82.12 kB / 0.7057 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.5713, allocations: 59.42 kB / 0.7057 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.5713, allocations: 3.938 kB / 0.7057 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of Templates: time 0.03463/0.6059, allocations: 22.26 MB / 0.7275 GB, free: 11.11 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)