Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001321/0.001321, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.621 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.001515/0.001515, allocations: 192.5 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5466/0.5466, allocations: 91.91 MB / 432.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 75.88 kB / 0.5025 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3754, allocations: 71.28 MB / 0.5721 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01004/0.3855, allocations: 13.62 MB / 0.5854 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007468/0.393, allocations: 3.472 MB / 0.5888 GB, free: 25.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.3961, allocations: 30.72 kB / 0.5888 GB, free: 25.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.3979, allocations: 0.5558 MB / 0.5894 GB, free: 24.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.4031, allocations: 1.412 MB / 0.5908 GB, free: 23.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.4066, allocations: 1.509 MB / 0.5922 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.4124, allocations: 3.688 MB / 0.5958 GB, free: 21.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.414, allocations: 0.8966 MB / 0.5967 GB, free: 20.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.4167, allocations: 1.528 MB / 0.5982 GB, free: 20.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.4202, allocations: 1.952 MB / 0.6001 GB, free: 19.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.4215, allocations: 285.3 kB / 0.6004 GB, free: 19.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.4233, allocations: 438.9 kB / 0.6008 GB, free: 19.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006743/0.424, allocations: 0.7643 MB / 0.6016 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.4261, allocations: 1.628 MB / 0.6031 GB, free: 17.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.4316, allocations: 3.916 MB / 0.607 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.046e-06/0.4316, allocations: 0.7969 kB / 0.607 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4316, allocations: 0 / 0.607 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.4318, allocations: 1.25 kB / 0.607 GB, free: 15.69 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02717/0.459, allocations: 6.583 MB / 0.6134 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4591, allocations: 9.375 kB / 0.6134 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.4755, allocations: 2.276 MB / 0.6156 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.481, allocations: 1.875 MB / 0.6175 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008521/0.4819, allocations: 0.7311 MB / 0.6182 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.483, allocations: 214.4 kB / 0.6184 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008079/0.4911, allocations: 3.024 MB / 0.6213 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.4911, allocations: 1.188 kB / 0.6213 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/0.4914, allocations: 89.73 kB / 0.6214 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.4915, allocations: 49.62 kB / 0.6215 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007507/0.499, allocations: 2.786 MB / 0.6242 GB, free: 8.539 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.01936/0.5184, allocations: 9.873 MB / 0.6338 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.53, allocations: 4.192 MB / 0.6379 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004952/0.535, allocations: 1.956 MB / 0.6398 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.5355, allocations: 45.88 kB / 0.6399 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00579/0.5413, allocations: 2.232 MB / 0.6421 GB, free: 6.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 7.464e-06/0.5414, allocations: 0 / 0.6421 GB, free: 6.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.131/0.6723, allocations: 29.46 MB / 0.6708 GB, free: 8.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6725, allocations: 184.2 kB / 0.671 GB, free: 8.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/0.6773, allocations: 2.277 MB / 0.6732 GB, free: 6.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009875/0.6784, allocations: 69.7 kB / 0.6733 GB, free: 5.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.6796, allocations: 1.176 MB / 0.6744 GB, free: 4.785 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/0.6815, allocations: 0.8665 MB / 0.6753 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002933/0.6844, allocations: 0.5578 MB / 0.6758 GB, free: 3.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6845, allocations: 301.1 kB / 0.6761 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005243/0.6898, allocations: 1.951 MB / 0.678 GB, free: 1.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.6954, allocations: 2.314 MB / 0.6803 GB, free: 14.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0585/0.7539, allocations: 14.05 MB / 0.694 GB, free: 412 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.754, allocations: 0 / 0.694 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04619/0.8002, allocations: 12.28 MB / 0.706 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.8004, allocations: 118.8 kB / 0.7061 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.8004, allocations: 7.938 kB / 0.7061 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01965/0.8201, allocations: 5.321 MB / 0.7113 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/0.8234, allocations: 0.5617 MB / 0.7119 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07057/0.894, allocations: 23.52 MB / 0.7348 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/0.8997, allocations: 489 kB / 0.7353 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/0.9007, allocations: 120 kB / 0.7354 GB, free: 5.73 MB / 0.5294 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.002603/0.9033, allocations: 0.5217 MB / 0.7359 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/0.9049, allocations: 296.3 kB / 0.7362 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04471/0.9496, allocations: 11.91 MB / 0.7478 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/0.9497, allocations: 24 kB / 0.7479 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-05/0.9497, allocations: 20 kB / 0.7479 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.38e-05/0.9498, allocations: 11.95 kB / 0.7479 GB, free: 8.883 MB / 0.545 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.05377/1.004, allocations: 15.49 MB / 0.763 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.004, allocations: 0 / 0.763 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/1.006, allocations: 239.7 kB / 0.7632 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01991/1.025, allocations: 5.295 MB / 0.7684 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/1.027, allocations: 59.92 kB / 0.7685 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3562/1.383, allocations: 24.95 MB / 0.7928 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.383, allocations: 5.656 kB / 0.7928 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05087/1.434, allocations: 14.26 MB / 0.8068 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.435, allocations: 408.8 kB / 0.8072 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.436, allocations: 45.45 kB / 0.8072 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/1.44, allocations: 302.4 kB / 0.8075 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002524/1.443, allocations: 0.5817 MB / 0.8081 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004283/1.443, allocations: 65.59 kB / 0.8081 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002838/1.446, allocations: 1.502 MB / 0.8096 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.446, allocations: 5.25 kB / 0.8096 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005531/1.452, allocations: 1.169 MB / 0.8107 GB, free: 153.5 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.0007634/1.453, allocations: 173.1 kB / 0.8109 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02218/1.475, allocations: 6.82 MB / 0.8176 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.475, allocations: 1.641 kB / 0.8176 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/1.489, allocations: 4.388 MB / 0.8218 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.494, allocations: 273.2 kB / 0.8221 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.506, allocations: 5.39 MB / 0.8274 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.508, allocations: 1.804 MB / 0.8291 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.509, allocations: 185.2 kB / 0.8293 GB, free: 141 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/1.509, allocations: 4 kB / 0.8293 GB, free: 141 MB / 0.5606 GB Notification: Performance of Templates: time 0.07121/1.58, allocations: 63.79 MB / 0.8916 GB, free: 77.79 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)