Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.38/1.38, allocations: 222.9 MB / 239 MB, free: 4.723 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.001322/0.001322, allocations: 188.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5405/0.5405, allocations: 91.89 MB / 431.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 75.88 kB / 0.5014 GB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4132, allocations: 71.27 MB / 0.571 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01592/0.4292, allocations: 23.48 MB / 0.5939 GB, free: 20.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.4418, allocations: 5.178 MB / 0.599 GB, free: 16.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00695/0.4488, allocations: 50.16 kB / 0.599 GB, free: 16.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.4534, allocations: 0.6654 MB / 0.5997 GB, free: 16.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.4639, allocations: 1.746 MB / 0.6014 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00715/0.471, allocations: 1.906 MB / 0.6032 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01209/0.4831, allocations: 5.736 MB / 0.6088 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.4863, allocations: 1.318 MB / 0.6101 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.4918, allocations: 2.354 MB / 0.6124 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006168/0.498, allocations: 2.965 MB / 0.6153 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002833/0.5009, allocations: 443.3 kB / 0.6157 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.5051, allocations: 0.5895 MB / 0.6163 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.5087, allocations: 1.161 MB / 0.6174 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008176/0.5169, allocations: 2.635 MB / 0.62 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.5343, allocations: 6.198 MB / 0.6261 GB, free: 2.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.5344, allocations: 4 kB / 0.6261 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5344, allocations: 1.094 kB / 0.6261 GB, free: 2.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003895/0.5348, allocations: 0 / 0.6261 GB, free: 2.137 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04241/0.5772, allocations: 9.229 MB / 0.6351 GB, free: 13.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.5773, allocations: 12.03 kB / 0.6351 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/0.6049, allocations: 4.005 MB / 0.639 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/0.6128, allocations: 2.678 MB / 0.6416 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/0.6141, allocations: 0.9573 MB / 0.6426 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.6161, allocations: 348 kB / 0.6429 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.6269, allocations: 4.743 MB / 0.6475 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.627, allocations: 3.938 kB / 0.6475 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/0.6274, allocations: 144.1 kB / 0.6477 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.6275, allocations: 84 kB / 0.6477 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.6367, allocations: 4.252 MB / 0.6519 GB, free: 11.54 MB / 462.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.04446/0.6812, allocations: 18.38 MB / 0.6698 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/0.6955, allocations: 5.016 MB / 0.6747 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00708/0.7027, allocations: 2.798 MB / 0.6775 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008898/0.7036, allocations: 66.92 kB / 0.6775 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009272/0.7129, allocations: 3.185 MB / 0.6807 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 1.059e-05/0.7129, allocations: 0 / 0.6807 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3152/1.028, allocations: 67.76 MB / 0.7468 GB, free: 8.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.028, allocations: 145.8 kB / 0.747 GB, free: 8.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008148/1.036, allocations: 3.25 MB / 0.7501 GB, free: 5.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001584/1.038, allocations: 89.7 kB / 0.7502 GB, free: 5.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.04, allocations: 1.974 MB / 0.7522 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003244/1.043, allocations: 1.321 MB / 0.7534 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002959/1.046, allocations: 0.6783 MB / 0.7541 GB, free: 1.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.047, allocations: 309.2 kB / 0.7544 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.053, allocations: 2.601 MB / 0.7569 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007205/1.06, allocations: 3.241 MB / 0.7601 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4384/1.498, allocations: 19.06 MB / 0.7787 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/1.498, allocations: 6.438 kB / 0.7787 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06288/1.561, allocations: 17.3 MB / 0.7956 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/1.561, allocations: 65.77 kB / 0.7957 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-05/1.562, allocations: 14.31 kB / 0.7957 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02717/1.589, allocations: 7.162 MB / 0.8027 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/1.593, allocations: 0.6953 MB / 0.8034 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08007/1.673, allocations: 33.35 MB / 0.8359 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007038/1.68, allocations: 0.6177 MB / 0.8365 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009659/1.681, allocations: 152 kB / 0.8367 GB, free: 131.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002092/1.683, allocations: 0.6701 MB / 0.8373 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.685, allocations: 458.3 kB / 0.8378 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05017/1.735, allocations: 16.87 MB / 0.8542 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/1.735, allocations: 36 kB / 0.8543 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/1.735, allocations: 34.06 kB / 0.8543 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001205/1.735, allocations: 15.94 kB / 0.8543 GB, free: 113.4 MB / 0.5606 GB 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.05886/1.794, allocations: 21.9 MB / 0.8757 GB, free: 91.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.794, allocations: 0 / 0.8757 GB, free: 91.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.796, allocations: 391.5 kB / 0.8761 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02427/1.821, allocations: 7.385 MB / 0.8833 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001279/1.822, allocations: 79.97 kB / 0.8834 GB, free: 83.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07552/1.898, allocations: 31.81 MB / 0.9144 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.898, allocations: 10 kB / 0.9145 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05906/1.957, allocations: 20.25 MB / 0.9342 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.959, allocations: 0.5532 MB / 0.9348 GB, free: 30.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/1.96, allocations: 68 kB / 0.9348 GB, free: 30.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005236/1.966, allocations: 379.5 kB / 0.9352 GB, free: 30.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0036/1.969, allocations: 0.7852 MB / 0.936 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005232/1.97, allocations: 99.98 kB / 0.9361 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002842/1.973, allocations: 2.129 MB / 0.9381 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.973, allocations: 0 / 0.9381 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006106/1.979, allocations: 1.802 MB / 0.9399 GB, free: 25.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006954/1.979, allocations: 201.7 kB / 0.9401 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03012/2.01, allocations: 9.326 MB / 0.9492 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/2.01, allocations: 432 / 0.9492 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02104/2.031, allocations: 6.212 MB / 0.9553 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009797/2.041, allocations: 382.8 kB / 0.9556 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/2.061, allocations: 9.827 MB / 0.9652 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/2.064, allocations: 2.451 MB / 0.9676 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002108/2.066, allocations: 379.1 kB / 0.968 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/2.067, allocations: 251.4 kB / 0.9682 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.482e-06/2.067, allocations: 0 / 0.9682 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.436/2.503, allocations: 86.64 MB / 1.053 GB, free: 159.7 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)