Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, 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.347/1.347, allocations: 223.2 MB / 239 MB, free: 5.438 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.0009266/0.0009266, allocations: 176.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4927/0.4927, allocations: 91.91 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 8 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 72.48 MB / 0.5749 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008004/0.3502, allocations: 12.88 MB / 0.5875 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.3562, allocations: 3.464 MB / 0.5909 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.3583, allocations: 30.03 kB / 0.5909 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3594, allocations: 390.7 kB / 0.5913 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.3627, allocations: 1.204 MB / 0.5925 GB, free: 24.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.3653, allocations: 1.274 MB / 0.5937 GB, free: 23.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.3689, allocations: 3.336 MB / 0.597 GB, free: 21.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3699, allocations: 0.6938 MB / 0.5976 GB, free: 21.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3717, allocations: 1.307 MB / 0.5989 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3737, allocations: 1.713 MB / 0.6006 GB, free: 20.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.3742, allocations: 139 kB / 0.6007 GB, free: 20.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007949/0.375, allocations: 270.8 kB / 0.601 GB, free: 19.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.3754, allocations: 0.5881 MB / 0.6016 GB, free: 19.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.376, allocations: 0.5206 MB / 0.6021 GB, free: 19.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.3785, allocations: 2.942 MB / 0.6049 GB, free: 18.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3785, allocations: 1.375 kB / 0.6049 GB, free: 18.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3785, allocations: 0 / 0.6049 GB, free: 18.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.803e-05/0.3786, allocations: 4 kB / 0.6049 GB, free: 18.4 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02028/0.3989, allocations: 6.159 MB / 0.611 GB, free: 16.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.399, allocations: 8.953 kB / 0.611 GB, free: 16.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.4139, allocations: 2.302 MB / 0.6132 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.4183, allocations: 1.757 MB / 0.6149 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006582/0.419, allocations: 0.7581 MB / 0.6157 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007714/0.4198, allocations: 217.8 kB / 0.6159 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/0.4264, allocations: 3.214 MB / 0.619 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.4264, allocations: 3.938 kB / 0.619 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.4267, allocations: 82.42 kB / 0.6191 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.4267, allocations: 56.94 kB / 0.6192 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.4328, allocations: 2.968 MB / 0.6221 GB, free: 11.72 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.01588/0.4487, allocations: 10.16 MB / 0.632 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009868/0.4586, allocations: 4.86 MB / 0.6367 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/0.463, allocations: 2.151 MB / 0.6388 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.4633, allocations: 45.95 kB / 0.6389 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004783/0.4681, allocations: 2.431 MB / 0.6412 GB, free: 9.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 4.398e-06/0.4681, allocations: 0 / 0.6412 GB, free: 9.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.118/0.5861, allocations: 34.6 MB / 0.675 GB, free: 6.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5862, allocations: 192.2 kB / 0.6752 GB, free: 6.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.5904, allocations: 2.254 MB / 0.6774 GB, free: 3.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007132/0.5911, allocations: 69.7 kB / 0.6775 GB, free: 3.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.5922, allocations: 1.164 MB / 0.6786 GB, free: 2.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.5936, allocations: 0.8704 MB / 0.6795 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.5943, allocations: 64 kB / 0.6795 GB, free: 1.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.5945, allocations: 428.8 kB / 0.6799 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/0.5995, allocations: 2.138 MB / 0.682 GB, free: 15.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005334/0.6048, allocations: 2.513 MB / 0.6845 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/0.6106, allocations: 2.411 MB / 0.6868 GB, free: 9.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.6107, allocations: 0 / 0.6868 GB, free: 9.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04341/0.6541, allocations: 15.16 MB / 0.7016 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.6542, allocations: 118.7 kB / 0.7018 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.6543, allocations: 8 kB / 0.7018 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/0.6734, allocations: 6.418 MB / 0.708 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.6764, allocations: 0.5656 MB / 0.7086 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06296/0.7394, allocations: 25.14 MB / 0.7331 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.7438, allocations: 0.587 MB / 0.7337 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/0.7444, allocations: 116 kB / 0.7338 GB, free: 9.641 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_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 (327): * Single equations (assignments): 322 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.746, allocations: 0.5337 MB / 0.7343 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/0.7468, allocations: 296.3 kB / 0.7346 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03975/0.7866, allocations: 14.73 MB / 0.749 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/0.7866, allocations: 24 kB / 0.749 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-05/0.7867, allocations: 20 kB / 0.749 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/0.7868, allocations: 15.89 kB / 0.7491 GB, free: 9.945 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.04868/0.8355, allocations: 18.33 MB / 0.767 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/0.8356, allocations: 4 kB / 0.767 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.8372, allocations: 247.6 kB / 0.7672 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01848/0.8557, allocations: 6.231 MB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007037/0.8565, allocations: 47.98 kB / 0.7733 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3201/1.177, allocations: 25.5 MB / 0.7982 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.177, allocations: 0 / 0.7982 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04685/1.224, allocations: 17.29 MB / 0.8151 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.225, allocations: 414.5 kB / 0.8155 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.226, allocations: 43.78 kB / 0.8155 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.229, allocations: 409.2 kB / 0.8159 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/1.231, allocations: 0.5832 MB / 0.8165 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.232, allocations: 64.27 kB / 0.8166 GB, free: 153 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002102/1.234, allocations: 1.486 MB / 0.818 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 0 / 0.818 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004205/1.238, allocations: 1.181 MB / 0.8192 GB, free: 151.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/1.239, allocations: 177.5 kB / 0.8193 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01664/1.255, allocations: 7.499 MB / 0.8267 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.255, allocations: 0 / 0.8267 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.268, allocations: 5.089 MB / 0.8316 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.271, allocations: 264.4 kB / 0.8319 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/1.28, allocations: 6.266 MB / 0.838 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.281, allocations: 1.805 MB / 0.8398 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001274/1.282, allocations: 266.2 kB / 0.84 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/1.283, allocations: 163.4 kB / 0.8402 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.796e-06/1.283, allocations: 0 / 0.8402 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07395/1.357, allocations: 56.54 MB / 0.8954 GB, free: 76.14 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)