Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.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 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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.424/1.424, allocations: 222.9 MB / 239.6 MB, free: 4.719 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.001874/0.001873, allocations: 192.5 kB / 289.9 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5602/0.5602, allocations: 92.61 MB / 432.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 84.09 kB / 0.5029 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3647, allocations: 71.4 MB / 0.5726 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005785/0.3705, allocations: 6.835 MB / 0.5793 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.3743, allocations: 1.986 MB / 0.5812 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3754, allocations: 15.16 kB / 0.5812 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.3762, allocations: 185.2 kB / 0.5814 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.3782, allocations: 0.6957 MB / 0.5821 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3794, allocations: 0.5912 MB / 0.5826 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.381, allocations: 1.568 MB / 0.5842 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.3815, allocations: 327.8 kB / 0.5845 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008257/0.3823, allocations: 0.6555 MB / 0.5851 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.383, allocations: 0.8244 MB / 0.5859 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.3831, allocations: 121 kB / 0.5861 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.3836, allocations: 260.5 kB / 0.5863 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.3838, allocations: 329.7 kB / 0.5866 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.3843, allocations: 0.6737 MB / 0.5873 GB, free: 27.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3855, allocations: 1.281 MB / 0.5885 GB, free: 27.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3855, allocations: 1.031 kB / 0.5885 GB, free: 27.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3855, allocations: 4 kB / 0.5885 GB, free: 27.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.3855, allocations: 0 / 0.5885 GB, free: 27.37 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008812/0.3943, allocations: 2.686 MB / 0.5912 GB, free: 26.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3944, allocations: 10.03 kB / 0.5912 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3994, allocations: 0.775 MB / 0.5919 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.4011, allocations: 0.8903 MB / 0.5928 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.4014, allocations: 257.4 kB / 0.593 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.4016, allocations: 83.06 kB / 0.5931 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.4037, allocations: 1.089 MB / 0.5942 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4037, allocations: 0 / 0.5942 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.4038, allocations: 30.66 kB / 0.5942 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.4038, allocations: 17.91 kB / 0.5942 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.4058, allocations: 0.9861 MB / 0.5952 GB, free: 24.32 MB / 430.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.006797/0.4126, allocations: 3.815 MB / 0.5989 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.42, allocations: 2.374 MB / 0.6012 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4217, allocations: 0.6713 MB / 0.6019 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.4218, allocations: 20.83 kB / 0.6019 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.4236, allocations: 0.8153 MB / 0.6027 GB, free: 20.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.045e-06/0.4236, allocations: 0 / 0.6027 GB, free: 20.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03069/0.4543, allocations: 7.19 MB / 0.6097 GB, free: 19.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.4544, allocations: 122.2 kB / 0.6098 GB, free: 19.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.4563, allocations: 1.097 MB / 0.6109 GB, free: 18.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.4566, allocations: 41.45 kB / 0.6109 GB, free: 18.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4569, allocations: 491.5 kB / 0.6114 GB, free: 18.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.4573, allocations: 352.3 kB / 0.6118 GB, free: 17.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.4578, allocations: 287.7 kB / 0.612 GB, free: 17.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.195e-05/0.4578, allocations: 305.1 kB / 0.6123 GB, free: 17.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4594, allocations: 0.7563 MB / 0.6131 GB, free: 17.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4609, allocations: 0.922 MB / 0.614 GB, free: 16.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02344/0.4844, allocations: 5.572 MB / 0.6194 GB, free: 13.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.4845, allocations: 0 / 0.6194 GB, free: 13.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01223/0.4967, allocations: 4.36 MB / 0.6237 GB, free: 8.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.4968, allocations: 67.33 kB / 0.6237 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4968, allocations: 4 kB / 0.6237 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/0.5021, allocations: 1.592 MB / 0.6253 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.5035, allocations: 271.6 kB / 0.6255 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.5215, allocations: 8.506 MB / 0.6338 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.5237, allocations: 206.7 kB / 0.634 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.5239, allocations: 59.91 kB / 0.6341 GB, free: 14.11 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007063/0.5246, allocations: 303.4 kB / 0.6344 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.5249, allocations: 126.5 kB / 0.6345 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.5382, allocations: 3.869 MB / 0.6383 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.5383, allocations: 12 kB / 0.6383 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.5383, allocations: 4 kB / 0.6383 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.5383, allocations: 3.984 kB / 0.6383 GB, free: 9.758 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 postOpt removeSimpleEquations (simulation): time 0.01582/0.5541, allocations: 5.457 MB / 0.6436 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.5542, allocations: 0 / 0.6436 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.555, allocations: 99.89 kB / 0.6437 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/0.5608, allocations: 1.603 MB / 0.6453 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.561, allocations: 24 kB / 0.6453 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02191/0.583, allocations: 9.66 MB / 0.6548 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.583, allocations: 3.938 kB / 0.6548 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.5981, allocations: 4.725 MB / 0.6594 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.5988, allocations: 215.3 kB / 0.6596 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.5991, allocations: 27.94 kB / 0.6596 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.6003, allocations: 111.9 kB / 0.6597 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006389/0.6009, allocations: 188.7 kB / 0.6599 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.601, allocations: 23.98 kB / 0.6599 GB, free: 3.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.6022, allocations: 0.7393 MB / 0.6606 GB, free: 2.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6023, allocations: 192 / 0.6606 GB, free: 2.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001675/0.6039, allocations: 467.5 kB / 0.6611 GB, free: 1.965 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003326/0.6043, allocations: 144 kB / 0.6612 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00717/0.6115, allocations: 2.552 MB / 0.6637 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.6115, allocations: 4 kB / 0.6637 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.6161, allocations: 1.584 MB / 0.6653 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6175, allocations: 126.8 kB / 0.6654 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.6222, allocations: 2.69 MB / 0.668 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.623, allocations: 1.12 MB / 0.6691 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.6235, allocations: 87.41 kB / 0.6692 GB, free: 9.527 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6235, allocations: 3.938 kB / 0.6692 GB, free: 9.523 MB / 478.1 MB Notification: Performance of Templates: time 0.03967/0.6632, allocations: 23.37 MB / 0.692 GB, free: 2.156 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)