Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.3 MB, free: 4.574 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.001837/0.001837, allocations: 196.5 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5692/0.5692, allocations: 91.89 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 79.88 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.38, allocations: 71.27 MB / 0.5716 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009932/0.39, allocations: 13.85 MB / 0.5851 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.3974, allocations: 3.534 MB / 0.5886 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.4003, allocations: 32.19 kB / 0.5886 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.4018, allocations: 0.5618 MB / 0.5891 GB, free: 24.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.4067, allocations: 1.435 MB / 0.5905 GB, free: 23.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.4102, allocations: 1.521 MB / 0.592 GB, free: 22.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00529/0.4155, allocations: 3.79 MB / 0.5957 GB, free: 20.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.417, allocations: 0.8972 MB / 0.5966 GB, free: 20.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.4202, allocations: 1.56 MB / 0.5981 GB, free: 19.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.4237, allocations: 2.002 MB / 0.6001 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.425, allocations: 294 kB / 0.6004 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.4274, allocations: 441.8 kB / 0.6008 GB, free: 18.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.4288, allocations: 0.7864 MB / 0.6015 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00285/0.4317, allocations: 1.658 MB / 0.6032 GB, free: 17.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005596/0.4373, allocations: 3.991 MB / 0.6071 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4373, allocations: 5.219 kB / 0.6071 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4373, allocations: 0 / 0.6071 GB, free: 15.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.4375, allocations: 0 / 0.6071 GB, free: 15.17 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02687/0.4644, allocations: 6.677 MB / 0.6136 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4644, allocations: 9.625 kB / 0.6136 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005361/0.465, allocations: 312.7 kB / 0.6139 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.4811, allocations: 2.275 MB / 0.6161 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/0.4864, allocations: 1.897 MB / 0.618 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007143/0.4872, allocations: 0.7314 MB / 0.6187 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007581/0.4879, allocations: 227.8 kB / 0.6189 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.4952, allocations: 3.052 MB / 0.6219 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.4953, allocations: 3.938 kB / 0.6219 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.4955, allocations: 86.36 kB / 0.622 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.4956, allocations: 53.59 kB / 0.622 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006409/0.502, allocations: 2.804 MB / 0.6248 GB, free: 7.535 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.01886/0.5209, allocations: 9.963 MB / 0.6345 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.5325, allocations: 4.224 MB / 0.6386 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004983/0.5376, allocations: 1.991 MB / 0.6406 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.5379, allocations: 41.95 kB / 0.6406 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00523/0.5432, allocations: 2.252 MB / 0.6428 GB, free: 4.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 5.37e-06/0.5432, allocations: 0 / 0.6428 GB, free: 4.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1474/0.6906, allocations: 28.82 MB / 0.6709 GB, free: 7.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.6909, allocations: 184.2 kB / 0.6711 GB, free: 7.602 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007317/0.6982, allocations: 2.329 MB / 0.6734 GB, free: 5.254 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001098/0.6993, allocations: 73.69 kB / 0.6735 GB, free: 5.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.7008, allocations: 1.18 MB / 0.6746 GB, free: 3.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.7027, allocations: 0.8858 MB / 0.6755 GB, free: 3.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/0.7055, allocations: 0.5699 MB / 0.676 GB, free: 2.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7057, allocations: 305.1 kB / 0.6763 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005244/0.7109, allocations: 1.994 MB / 0.6783 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/0.7164, allocations: 2.354 MB / 0.6806 GB, free: 13.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06123/0.7776, allocations: 14.42 MB / 0.6947 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-05/0.7777, allocations: 4 kB / 0.6947 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04722/0.8249, allocations: 12.61 MB / 0.707 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.8251, allocations: 114.8 kB / 0.7071 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.8251, allocations: 8 kB / 0.7071 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02024/0.8454, allocations: 5.441 MB / 0.7124 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.8488, allocations: 0.5695 MB / 0.713 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06677/0.9156, allocations: 23.67 MB / 0.7361 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005519/0.9211, allocations: 0.4892 MB / 0.7366 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008889/0.922, allocations: 120 kB / 0.7367 GB, free: 3.816 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 Syn2.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 (336): * Single equations (assignments): 331 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002099/0.9241, allocations: 0.5297 MB / 0.7372 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/0.9254, allocations: 304.2 kB / 0.7375 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04264/0.9681, allocations: 11.95 MB / 0.7492 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/0.9682, allocations: 24 kB / 0.7492 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.157e-05/0.9682, allocations: 23.98 kB / 0.7492 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.308e-05/0.9683, allocations: 19.89 kB / 0.7492 GB, free: 6.848 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.05038/1.019, allocations: 15.58 MB / 0.7644 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.019, allocations: 0 / 0.7644 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.021, allocations: 255.6 kB / 0.7647 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01915/1.04, allocations: 5.291 MB / 0.7698 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008352/1.041, allocations: 51.98 kB / 0.7699 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3379/1.379, allocations: 24.96 MB / 0.7943 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.379, allocations: 1.188 kB / 0.7943 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04933/1.428, allocations: 14.33 MB / 0.8083 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.43, allocations: 418.6 kB / 0.8087 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008772/1.43, allocations: 47.88 kB / 0.8087 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003462/1.434, allocations: 308.2 kB / 0.809 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002462/1.436, allocations: 0.584 MB / 0.8096 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/1.437, allocations: 65.31 kB / 0.8096 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002868/1.44, allocations: 1.542 MB / 0.8111 GB, free: 152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.44, allocations: 1.062 kB / 0.8111 GB, free: 152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005168/1.445, allocations: 1.194 MB / 0.8123 GB, free: 151.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.04288/1.488, allocations: 14.98 MB / 0.8269 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02057/1.508, allocations: 6.904 MB / 0.8337 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.508, allocations: 0 / 0.8337 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/1.521, allocations: 4.423 MB / 0.838 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.524, allocations: 271.3 kB / 0.8382 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1075/1.631, allocations: 46.52 MB / 0.8837 GB, free: 83.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.633, allocations: 1.815 MB / 0.8854 GB, free: 81.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001452/1.634, allocations: 274.7 kB / 0.8857 GB, free: 81.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.635, allocations: 1.245 MB / 0.8869 GB, free: 79.99 MB / 0.5606 GB Notification: Performance of SimCode: time 3.366e-06/1.635, allocations: 0 / 0.8869 GB, free: 79.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/1.773, allocations: 90 MB / 0.9748 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/16.28, allocations: 9.922 kB / 0.9748 GB, free: 6.215 MB / 0.5762 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)