Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007067/0.007068, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.364/1.364, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001323/0.001323, allocations: 196.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4448/0.4448, allocations: 78.53 MB / 418.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 87.8 kB / 0.5537 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3247, allocations: 68.16 MB / 0.6202 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009844/0.3346, allocations: 13.58 MB / 0.6335 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.3414, allocations: 3.46 MB / 0.6369 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009176/0.3423, allocations: 28 kB / 0.6369 GB, free: 9.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3435, allocations: 0.5615 MB / 0.6375 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.3465, allocations: 1.425 MB / 0.6389 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.3494, allocations: 1.507 MB / 0.6403 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003855/0.3532, allocations: 3.714 MB / 0.644 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.3544, allocations: 0.8973 MB / 0.6448 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.3563, allocations: 1.529 MB / 0.6463 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.3583, allocations: 1.956 MB / 0.6482 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000396/0.3587, allocations: 284 kB / 0.6485 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000791/0.3595, allocations: 427.9 kB / 0.6489 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006123/0.3601, allocations: 0.7623 MB / 0.6497 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.3615, allocations: 1.631 MB / 0.6512 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.3653, allocations: 3.996 MB / 0.6552 GB, free: 6.301 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3653, allocations: 0 / 0.6552 GB, free: 6.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3653, allocations: 0 / 0.6552 GB, free: 6.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.3654, allocations: 0 / 0.6552 GB, free: 6.301 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.0213/0.3867, allocations: 6.689 MB / 0.6617 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3868, allocations: 8.031 kB / 0.6617 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/0.4013, allocations: 2.296 MB / 0.6639 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.4049, allocations: 1.892 MB / 0.6658 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007206/0.4056, allocations: 0.7289 MB / 0.6665 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.406, allocations: 223.9 kB / 0.6667 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00613/0.4121, allocations: 3.023 MB / 0.6697 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.4122, allocations: 4 kB / 0.6697 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.4124, allocations: 87.94 kB / 0.6697 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.4125, allocations: 48 kB / 0.6698 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/0.4181, allocations: 2.784 MB / 0.6725 GB, free: 4.145 MB / 478.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.01727/0.4354, allocations: 9.811 MB / 0.6821 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.4461, allocations: 4.176 MB / 0.6862 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/0.4503, allocations: 1.965 MB / 0.6881 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.4506, allocations: 41.95 kB / 0.6881 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004511/0.4551, allocations: 2.234 MB / 0.6903 GB, free: 1.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.929e-06/0.4552, allocations: 4 kB / 0.6903 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1241/0.5793, allocations: 29.48 MB / 0.7191 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.5795, allocations: 180.2 kB / 0.7193 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.5829, allocations: 2.285 MB / 0.7215 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007646/0.5837, allocations: 69.7 kB / 0.7216 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009727/0.5847, allocations: 1.189 MB / 0.7227 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.5858, allocations: 0.9063 MB / 0.7236 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.5869, allocations: 0.5619 MB / 0.7242 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.587, allocations: 305.1 kB / 0.7245 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/0.5911, allocations: 1.947 MB / 0.7264 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/0.5956, allocations: 2.322 MB / 0.7286 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05391/0.6495, allocations: 14 MB / 0.7423 GB, free: 11.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.6496, allocations: 4 kB / 0.7423 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04032/0.6899, allocations: 12.3 MB / 0.7543 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6901, allocations: 113.2 kB / 0.7544 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.6901, allocations: 15.92 kB / 0.7544 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/0.7082, allocations: 5.324 MB / 0.7596 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.7111, allocations: 0.5617 MB / 0.7602 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3034/1.015, allocations: 23.5 MB / 0.7831 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/1.018, allocations: 0.4922 MB / 0.7836 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/1.019, allocations: 109.5 kB / 0.7837 GB, free: 121 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.02, allocations: 0.5419 MB / 0.7842 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/1.02, allocations: 310.4 kB / 0.7845 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03696/1.057, allocations: 11.9 MB / 0.7962 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.057, allocations: 31.62 kB / 0.7962 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/1.057, allocations: 15.25 kB / 0.7962 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-05/1.057, allocations: 19.25 kB / 0.7962 GB, free: 118.1 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.03958/1.097, allocations: 15.48 MB / 0.8113 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.097, allocations: 4 kB / 0.8113 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.098, allocations: 243.8 kB / 0.8116 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.114, allocations: 5.283 MB / 0.8167 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.114, allocations: 55.98 kB / 0.8168 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05315/1.167, allocations: 24.97 MB / 0.8412 GB, free: 76.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.168, allocations: 4 kB / 0.8412 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04302/1.211, allocations: 14.28 MB / 0.8551 GB, free: 62.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008895/1.211, allocations: 427 kB / 0.8555 GB, free: 61.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009228/1.212, allocations: 47.98 kB / 0.8556 GB, free: 61.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.216, allocations: 303.6 kB / 0.8559 GB, free: 61.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002238/1.218, allocations: 0.5802 MB / 0.8564 GB, free: 61.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/1.218, allocations: 64 kB / 0.8565 GB, free: 60.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002468/1.221, allocations: 1.507 MB / 0.858 GB, free: 59.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.221, allocations: 0 / 0.858 GB, free: 59.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003733/1.225, allocations: 1.17 MB / 0.8591 GB, free: 58.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/1.225, allocations: 181.5 kB / 0.8593 GB, free: 58.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01698/1.242, allocations: 6.714 MB / 0.8658 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.242, allocations: 0 / 0.8658 GB, free: 51.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01214/1.254, allocations: 4.425 MB / 0.8701 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.257, allocations: 265.7 kB / 0.8704 GB, free: 46.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/1.266, allocations: 5.367 MB / 0.8756 GB, free: 41.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.267, allocations: 1.802 MB / 0.8774 GB, free: 39.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00099/1.268, allocations: 262.5 kB / 0.8777 GB, free: 39.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/1.269, allocations: 175.4 kB / 0.8778 GB, free: 38.98 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/1.269, allocations: 0 / 0.8778 GB, free: 38.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.08582/1.355, allocations: 65.71 MB / 0.942 GB, free: 5.301 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)