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.001076/0.001076, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.304/1.304, allocations: 223.3 MB / 239 MB, free: 5.465 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.001279/0.001279, allocations: 176.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5302/0.5302, allocations: 91.92 MB / 433.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 11.98 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 72.46 MB / 0.5749 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.00855/0.363, allocations: 12.79 MB / 0.5874 GB, free: 27.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006573/0.3696, allocations: 3.456 MB / 0.5908 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.372, allocations: 35.44 kB / 0.5908 GB, free: 25.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.3735, allocations: 392.9 kB / 0.5912 GB, free: 25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.3773, allocations: 1.197 MB / 0.5924 GB, free: 24.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.3802, allocations: 1.281 MB / 0.5936 GB, free: 23.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.3847, allocations: 3.335 MB / 0.5969 GB, free: 21.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.3859, allocations: 0.6828 MB / 0.5975 GB, free: 21.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.388, allocations: 1.305 MB / 0.5988 GB, free: 20.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.3903, allocations: 1.71 MB / 0.6005 GB, free: 20.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005643/0.3909, allocations: 139.6 kB / 0.6006 GB, free: 20.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.3918, allocations: 274.1 kB / 0.6009 GB, free: 20.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.3923, allocations: 0.5896 MB / 0.6015 GB, free: 19.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.393, allocations: 0.5213 MB / 0.602 GB, free: 19.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.3956, allocations: 2.942 MB / 0.6048 GB, free: 18.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3957, allocations: 1.094 kB / 0.6048 GB, free: 18.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3957, allocations: 0 / 0.6048 GB, free: 18.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.47e-05/0.3958, allocations: 0 / 0.6048 GB, free: 18.57 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.02088/0.4166, allocations: 6.16 MB / 0.6109 GB, free: 16.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4167, allocations: 9.844 kB / 0.6109 GB, free: 16.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.4318, allocations: 2.299 MB / 0.6131 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.4358, allocations: 1.767 MB / 0.6148 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005818/0.4364, allocations: 0.758 MB / 0.6156 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.4369, allocations: 220 kB / 0.6158 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/0.443, allocations: 3.214 MB / 0.6189 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.4431, allocations: 4.516 kB / 0.6189 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.4433, allocations: 82.66 kB / 0.619 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.4434, allocations: 53.45 kB / 0.6191 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005616/0.449, allocations: 2.967 MB / 0.622 GB, free: 11.88 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.0149/0.4639, allocations: 10.11 MB / 0.6318 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009535/0.4735, allocations: 4.848 MB / 0.6366 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/0.4776, allocations: 2.155 MB / 0.6387 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.478, allocations: 45.95 kB / 0.6387 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004728/0.4827, allocations: 2.416 MB / 0.6411 GB, free: 9.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.469e-06/0.4827, allocations: 0 / 0.6411 GB, free: 9.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1214/0.6042, allocations: 36.28 MB / 0.6765 GB, free: 4.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6043, allocations: 188.2 kB / 0.6767 GB, free: 4.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.6087, allocations: 2.257 MB / 0.6789 GB, free: 2.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008379/0.6096, allocations: 73.69 kB / 0.679 GB, free: 2.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.6107, allocations: 1.176 MB / 0.6801 GB, free: 1.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/0.6123, allocations: 0.8704 MB / 0.681 GB, free: 200 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007482/0.613, allocations: 60 kB / 0.681 GB, free: 140 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.6133, allocations: 432.7 kB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005161/0.6185, allocations: 2.134 MB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/0.6238, allocations: 2.505 MB / 0.686 GB, free: 10.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/0.6294, allocations: 2.396 MB / 0.6883 GB, free: 8.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.6295, allocations: 4 kB / 0.6883 GB, free: 8.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04487/0.6743, allocations: 15.14 MB / 0.7031 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.6745, allocations: 122.8 kB / 0.7032 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.6745, allocations: 8 kB / 0.7032 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/0.6938, allocations: 6.362 MB / 0.7094 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.697, allocations: 0.5656 MB / 0.71 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06344/0.7604, allocations: 25.18 MB / 0.7346 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/0.7654, allocations: 0.5908 MB / 0.7352 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008242/0.7663, allocations: 119.9 kB / 0.7353 GB, free: 8.188 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002098/0.7684, allocations: 0.524 MB / 0.7358 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.7695, allocations: 308.2 kB / 0.7361 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04159/0.8111, allocations: 14.72 MB / 0.7504 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.8111, allocations: 27.94 kB / 0.7505 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-05/0.8112, allocations: 16 kB / 0.7505 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.668e-05/0.8113, allocations: 15.95 kB / 0.7505 GB, free: 8.508 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.04745/0.8587, allocations: 18.31 MB / 0.7684 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.8588, allocations: 0 / 0.7684 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.8604, allocations: 243.7 kB / 0.7686 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2585/1.119, allocations: 6.269 MB / 0.7747 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007429/1.12, allocations: 55.47 kB / 0.7748 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05337/1.173, allocations: 25.5 MB / 0.7997 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.173, allocations: 8.469 kB / 0.7997 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04592/1.219, allocations: 17.27 MB / 0.8166 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/1.22, allocations: 417.8 kB / 0.817 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007199/1.221, allocations: 47.72 kB / 0.817 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.224, allocations: 408.4 kB / 0.8174 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00191/1.226, allocations: 0.5808 MB / 0.818 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.226, allocations: 66.53 kB / 0.818 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001897/1.228, allocations: 1.492 MB / 0.8195 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/1.228, allocations: 0 / 0.8195 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003363/1.231, allocations: 1.173 MB / 0.8206 GB, free: 145.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003899/1.231, allocations: 164.2 kB / 0.8208 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.247, allocations: 7.48 MB / 0.8281 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.247, allocations: 0 / 0.8281 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.259, allocations: 5.083 MB / 0.8331 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.261, allocations: 268.7 kB / 0.8333 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/1.269, allocations: 6.191 MB / 0.8394 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/1.27, allocations: 1.809 MB / 0.8411 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001032/1.271, allocations: 260.7 kB / 0.8414 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/1.272, allocations: 158.6 kB / 0.8415 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.773e-06/1.272, allocations: 0 / 0.8415 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06711/1.339, allocations: 56.61 MB / 0.8968 GB, free: 74.91 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)