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.001168/0.001168, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.449/1.449, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.001076/0.001076, allocations: 191.3 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5155/0.5155, allocations: 91.91 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 16 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 72.46 MB / 0.5755 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008496/0.4146, allocations: 6.363 MB / 0.5817 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.4199, allocations: 1.994 MB / 0.5837 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/0.4208, allocations: 11.72 kB / 0.5837 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.4217, allocations: 187 kB / 0.5839 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.4243, allocations: 0.7032 MB / 0.5846 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4259, allocations: 0.5845 MB / 0.5851 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.4278, allocations: 1.486 MB / 0.5866 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.4284, allocations: 283.7 kB / 0.5869 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.4293, allocations: 0.5691 MB / 0.5874 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.4303, allocations: 0.7416 MB / 0.5881 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.4304, allocations: 59.44 kB / 0.5882 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.431, allocations: 192.9 kB / 0.5884 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.4313, allocations: 263.9 kB / 0.5886 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.4319, allocations: 0.622 MB / 0.5892 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.4335, allocations: 1.557 MB / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4335, allocations: 0 / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4335, allocations: 1.438 kB / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.4336, allocations: 4 kB / 0.5908 GB, free: 27.6 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.01241/0.446, allocations: 2.494 MB / 0.5932 GB, free: 26.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.446, allocations: 12.81 kB / 0.5932 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.4524, allocations: 0.7771 MB / 0.594 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4543, allocations: 0.8824 MB / 0.5948 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.4546, allocations: 270.2 kB / 0.5951 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.4548, allocations: 86.36 kB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.4571, allocations: 1.151 MB / 0.5963 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4571, allocations: 0 / 0.5963 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.4573, allocations: 31.22 kB / 0.5963 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.4573, allocations: 18.09 kB / 0.5963 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4594, allocations: 1.049 MB / 0.5974 GB, free: 24.68 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.007049/0.4665, allocations: 3.902 MB / 0.6012 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00837/0.4749, allocations: 2.905 MB / 0.604 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.4765, allocations: 0.7391 MB / 0.6047 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/0.4766, allocations: 21.67 kB / 0.6048 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.4785, allocations: 0.8777 MB / 0.6056 GB, free: 20.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.4785, allocations: 1.281 kB / 0.6056 GB, free: 20.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0342/0.5127, allocations: 8.797 MB / 0.6142 GB, free: 19.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.5128, allocations: 117.7 kB / 0.6143 GB, free: 19.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.5149, allocations: 1.091 MB / 0.6154 GB, free: 18.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.5153, allocations: 47.41 kB / 0.6154 GB, free: 18.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.5156, allocations: 493.7 kB / 0.6159 GB, free: 18.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.5161, allocations: 352.2 kB / 0.6162 GB, free: 18.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.5163, allocations: 143.9 kB / 0.6164 GB, free: 18.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.5164, allocations: 302.3 kB / 0.6167 GB, free: 17.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.5181, allocations: 0.8203 MB / 0.6175 GB, free: 17.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.52, allocations: 0.9985 MB / 0.6184 GB, free: 16.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/0.5433, allocations: 5.991 MB / 0.6243 GB, free: 11.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.5433, allocations: 0 / 0.6243 GB, free: 11.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01356/0.5569, allocations: 5.192 MB / 0.6294 GB, free: 5.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.557, allocations: 67.34 kB / 0.6294 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.557, allocations: 4 kB / 0.6294 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/0.5627, allocations: 1.869 MB / 0.6312 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.5641, allocations: 283.5 kB / 0.6315 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.5836, allocations: 8.835 MB / 0.6401 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.5859, allocations: 230.7 kB / 0.6404 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.586, allocations: 59.97 kB / 0.6404 GB, free: 10.46 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.0006878/0.5867, allocations: 296.2 kB / 0.6407 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.5869, allocations: 122.5 kB / 0.6408 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.6009, allocations: 4.724 MB / 0.6454 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6009, allocations: 12 kB / 0.6454 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.6009, allocations: 4 kB / 0.6455 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/0.601, allocations: 11.97 kB / 0.6455 GB, free: 5.254 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.01653/0.6175, allocations: 6.297 MB / 0.6516 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.6176, allocations: 0 / 0.6516 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.6182, allocations: 99.84 kB / 0.6517 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006084/0.6243, allocations: 1.888 MB / 0.6536 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.6246, allocations: 27.98 kB / 0.6536 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/0.6451, allocations: 9.687 MB / 0.663 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6451, allocations: 4 kB / 0.663 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.6611, allocations: 5.643 MB / 0.6686 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.6618, allocations: 227.3 kB / 0.6688 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.6619, allocations: 20 kB / 0.6688 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.6631, allocations: 143.9 kB / 0.6689 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/0.6637, allocations: 192.7 kB / 0.6691 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.6638, allocations: 27.98 kB / 0.6691 GB, free: 12.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.6649, allocations: 0.7315 MB / 0.6699 GB, free: 11.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6649, allocations: 0 / 0.6699 GB, free: 11.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0014/0.6663, allocations: 475.5 kB / 0.6703 GB, free: 11.35 MB / 478.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.0002798/0.6666, allocations: 132 kB / 0.6704 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006703/0.6733, allocations: 2.798 MB / 0.6732 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6733, allocations: 0.75 kB / 0.6732 GB, free: 8.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004562/0.6779, allocations: 1.81 MB / 0.6749 GB, free: 6.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6791, allocations: 114.1 kB / 0.675 GB, free: 6.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.6831, allocations: 2.71 MB / 0.6777 GB, free: 3.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.6838, allocations: 1.12 MB / 0.6788 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.6842, allocations: 116 kB / 0.6789 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.6845, allocations: 79.41 kB / 0.679 GB, free: 2.336 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6845, allocations: 4 kB / 0.679 GB, free: 2.332 MB / 478.1 MB Notification: Performance of Templates: time 0.0358/0.7203, allocations: 21.1 MB / 0.6996 GB, free: 13.27 MB / 0.4981 GB 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)