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.00133/0.00133, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.41/1.41, allocations: 222.9 MB / 240.1 MB, free: 4.391 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.001481/0.001481, allocations: 192.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.463/0.463, allocations: 78.52 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 79.88 kB / 0.5543 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3836, allocations: 68.17 MB / 0.6209 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005078/0.3888, allocations: 5.689 MB / 0.6264 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.392, allocations: 1.724 MB / 0.6281 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006556/0.3927, allocations: 8 kB / 0.6281 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.3932, allocations: 202.3 kB / 0.6283 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.3947, allocations: 0.6812 MB / 0.629 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3957, allocations: 0.557 MB / 0.6295 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3967, allocations: 1.225 MB / 0.6307 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.3972, allocations: 279 kB / 0.631 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.3978, allocations: 0.5096 MB / 0.6315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.3985, allocations: 0.6338 MB / 0.6321 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3986, allocations: 92 kB / 0.6322 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.3991, allocations: 219.9 kB / 0.6324 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3993, allocations: 243 kB / 0.6326 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.3998, allocations: 0.5397 MB / 0.6331 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4012, allocations: 1.337 MB / 0.6344 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4012, allocations: 0 / 0.6344 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4012, allocations: 4 kB / 0.6344 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4012, allocations: 0 / 0.6344 GB, free: 12.28 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.007256/0.4085, allocations: 2.326 MB / 0.6367 GB, free: 9.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4085, allocations: 12.03 kB / 0.6367 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.4133, allocations: 0.7596 MB / 0.6375 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.4146, allocations: 0.7011 MB / 0.6382 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.4149, allocations: 239.5 kB / 0.6384 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.415, allocations: 75.89 kB / 0.6385 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.4169, allocations: 0.9472 MB / 0.6394 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.417, allocations: 3.938 kB / 0.6394 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.4171, allocations: 32 kB / 0.6394 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.4171, allocations: 16 kB / 0.6394 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.4191, allocations: 0.9732 MB / 0.6404 GB, free: 6.055 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.005132/0.4242, allocations: 3.128 MB / 0.6434 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.4262, allocations: 1.317 MB / 0.6447 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.4275, allocations: 0.6944 MB / 0.6454 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.4276, allocations: 16.64 kB / 0.6454 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4276, allocations: 43.22 kB / 0.6455 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.655e-06/0.4276, allocations: 0 / 0.6455 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02461/0.4522, allocations: 6.693 MB / 0.652 GB, free: 9.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.4523, allocations: 60.06 kB / 0.6521 GB, free: 9.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.4534, allocations: 0.7905 MB / 0.6528 GB, free: 8.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.4536, allocations: 37.7 kB / 0.6529 GB, free: 8.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.454, allocations: 428.5 kB / 0.6533 GB, free: 8.504 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.4543, allocations: 291.8 kB / 0.6535 GB, free: 8.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.4546, allocations: 178.5 kB / 0.6537 GB, free: 8.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4548, allocations: 349.9 kB / 0.6541 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.4561, allocations: 0.6386 MB / 0.6547 GB, free: 7.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.4574, allocations: 0.7666 MB / 0.6554 GB, free: 6.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01667/0.4741, allocations: 4.442 MB / 0.6598 GB, free: 1.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.4742, allocations: 4 kB / 0.6598 GB, free: 1.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01247/0.4866, allocations: 4.051 MB / 0.6637 GB, free: 13.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.4867, allocations: 8 kB / 0.6637 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4868, allocations: 0 / 0.6637 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.4926, allocations: 1.851 MB / 0.6655 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.4935, allocations: 163.7 kB / 0.6657 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/0.5132, allocations: 9.098 MB / 0.6746 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.5146, allocations: 155 kB / 0.6747 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.5147, allocations: 35.98 kB / 0.6748 GB, free: 2.242 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.0004466/0.5152, allocations: 233.5 kB / 0.675 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.5154, allocations: 102.8 kB / 0.6751 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.5271, allocations: 3.817 MB / 0.6788 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5271, allocations: 8 kB / 0.6788 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5271, allocations: 3.938 kB / 0.6788 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.5271, allocations: 3.984 kB / 0.6788 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.5406, allocations: 5.322 MB / 0.684 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.5406, allocations: 7.938 kB / 0.684 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.5412, allocations: 87.83 kB / 0.6841 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005499/0.5467, allocations: 1.745 MB / 0.6858 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.5469, allocations: 16 kB / 0.6858 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.5642, allocations: 8.068 MB / 0.6937 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5642, allocations: 3.938 kB / 0.6937 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.5778, allocations: 4.685 MB / 0.6983 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.5782, allocations: 183.7 kB / 0.6985 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5783, allocations: 15.94 kB / 0.6985 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.5792, allocations: 87.89 kB / 0.6986 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/0.5799, allocations: 204.7 kB / 0.6988 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.5799, allocations: 24 kB / 0.6988 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006511/0.5806, allocations: 0.5264 MB / 0.6993 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5806, allocations: 0 / 0.6993 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001169/0.5818, allocations: 403.5 kB / 0.6997 GB, free: 8.363 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.0002598/0.5821, allocations: 123.2 kB / 0.6998 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005982/0.588, allocations: 2.301 MB / 0.702 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5881, allocations: 0 / 0.702 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004232/0.5923, allocations: 1.504 MB / 0.7035 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.5931, allocations: 79.3 kB / 0.7036 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.5963, allocations: 1.694 MB / 0.7052 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.5969, allocations: 1.029 MB / 0.7062 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.5971, allocations: 63.42 kB / 0.7063 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of SimCode: time 3.797e-06/0.5972, allocations: 0 / 0.7063 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.02583/0.623, allocations: 17.66 MB / 0.7236 GB, free: 15.8 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)