Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 171.1 kB / 15.42 MB, free: 6.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.8 MB / 239 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007242/0.0007241, allocations: 97.28 kB / 289.8 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3085/0.3085, allocations: 78.44 MB / 418.9 MB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 498.5 MB, free: 35.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 68.74 MB / 0.554 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01277/0.3651, allocations: 14.61 MB / 0.5682 GB, free: 76 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009626/0.3748, allocations: 3.66 MB / 0.5718 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003891/0.3787, allocations: 30.72 kB / 0.5718 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.3807, allocations: 441.9 kB / 0.5723 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.387, allocations: 1.242 MB / 0.5735 GB, free: 12.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.3914, allocations: 1.434 MB / 0.5749 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007013/0.3984, allocations: 3.599 MB / 0.5784 GB, free: 9.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.4002, allocations: 0.8018 MB / 0.5792 GB, free: 9.402 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.4035, allocations: 1.355 MB / 0.5805 GB, free: 8.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.4071, allocations: 1.816 MB / 0.5823 GB, free: 7.945 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.4083, allocations: 144.9 kB / 0.5824 GB, free: 7.945 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.41, allocations: 281.6 kB / 0.5827 GB, free: 7.902 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006851/0.4107, allocations: 0.6183 MB / 0.5833 GB, free: 7.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.4126, allocations: 1.496 MB / 0.5847 GB, free: 6.488 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.4166, allocations: 3.782 MB / 0.5884 GB, free: 3.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4166, allocations: 1.156 kB / 0.5884 GB, free: 3.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4167, allocations: 0 / 0.5884 GB, free: 3.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.479e-05/0.4167, allocations: 0 / 0.5884 GB, free: 3.637 MB / 394.7 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.02134/0.4381, allocations: 6.024 MB / 0.5943 GB, free: 220 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4382, allocations: 10 kB / 0.5943 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008972/0.4391, allocations: 305.3 kB / 0.5946 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/0.4539, allocations: 2.279 MB / 0.5968 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.458, allocations: 1.909 MB / 0.5987 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/0.4587, allocations: 0.7214 MB / 0.5994 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.4591, allocations: 219.9 kB / 0.5996 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.4648, allocations: 3.059 MB / 0.6026 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.4648, allocations: 3.938 kB / 0.6026 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.465, allocations: 92 kB / 0.6027 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.4651, allocations: 52 kB / 0.6028 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/0.4706, allocations: 2.8 MB / 0.6055 GB, free: 6.211 MB / 410.7 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.01695/0.4876, allocations: 9.962 MB / 0.6152 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.4978, allocations: 4.22 MB / 0.6193 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/0.5017, allocations: 1.987 MB / 0.6213 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.502, allocations: 49.89 kB / 0.6213 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004134/0.5061, allocations: 2.244 MB / 0.6235 GB, free: 3.164 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.679e-06/0.5061, allocations: 0 / 0.6235 GB, free: 3.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1135/0.6197, allocations: 28.83 MB / 0.6517 GB, free: 6.211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.6198, allocations: 184.2 kB / 0.6518 GB, free: 5.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/0.6231, allocations: 2.333 MB / 0.6541 GB, free: 3.641 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005277/0.6236, allocations: 69.77 kB / 0.6542 GB, free: 3.566 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/0.6245, allocations: 1.184 MB / 0.6553 GB, free: 2.371 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009247/0.6254, allocations: 0.8819 MB / 0.6562 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.6258, allocations: 292.7 kB / 0.6565 GB, free: 1.184 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.6259, allocations: 305.1 kB / 0.6568 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004075/0.63, allocations: 1.986 MB / 0.6587 GB, free: 14.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/0.6343, allocations: 2.358 MB / 0.661 GB, free: 12.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05421/0.6886, allocations: 14.39 MB / 0.6751 GB, free: 13.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.6886, allocations: 4 kB / 0.6751 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.03883/0.7275, allocations: 12.6 MB / 0.6874 GB, free: 1.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.7276, allocations: 122.7 kB / 0.6875 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.7276, allocations: 8 kB / 0.6875 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/0.7452, allocations: 5.426 MB / 0.6928 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.7483, allocations: 0.5773 MB / 0.6934 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05368/0.802, allocations: 21.75 MB / 0.7146 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/0.8068, allocations: 0.4893 MB / 0.7151 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/0.8073, allocations: 119.9 kB / 0.7152 GB, free: 4.465 MB / 0.5105 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.001655/0.809, allocations: 0.5364 MB / 0.7157 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008151/0.8098, allocations: 300.2 kB / 0.716 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03793/0.8477, allocations: 11.95 MB / 0.7277 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.8478, allocations: 24 kB / 0.7277 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.866e-05/0.8479, allocations: 20 kB / 0.7277 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.653e-05/0.848, allocations: 11.95 kB / 0.7277 GB, free: 7.512 MB / 0.5261 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.04489/0.8929, allocations: 15.59 MB / 0.743 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/0.8929, allocations: 3.984 kB / 0.743 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8945, allocations: 251.6 kB / 0.7432 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01667/0.9112, allocations: 5.279 MB / 0.7484 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006095/0.9118, allocations: 55.98 kB / 0.7484 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.278/1.19, allocations: 22.67 MB / 0.7705 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.19, allocations: 3.375 kB / 0.7705 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04456/1.234, allocations: 14.34 MB / 0.7846 GB, free: 176.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.236, allocations: 416.3 kB / 0.7849 GB, free: 176.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.236, allocations: 47.12 kB / 0.785 GB, free: 176.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.239, allocations: 300.3 kB / 0.7853 GB, free: 176.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/1.241, allocations: 0.5677 MB / 0.7858 GB, free: 176.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.241, allocations: 65.02 kB / 0.7859 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002216/1.243, allocations: 1.542 MB / 0.7874 GB, free: 175.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.243, allocations: 0 / 0.7874 GB, free: 175.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005254/1.249, allocations: 1.196 MB / 0.7886 GB, free: 175.5 MB / 0.5573 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.03906/1.288, allocations: 14.98 MB / 0.8032 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.303, allocations: 6.674 MB / 0.8097 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.304, allocations: 4 kB / 0.8097 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01144/1.315, allocations: 4.413 MB / 0.814 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.318, allocations: 269.2 kB / 0.8143 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09867/1.416, allocations: 47.54 MB / 0.8607 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/1.417, allocations: 1.819 MB / 0.8625 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00118/1.418, allocations: 270 kB / 0.8627 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.42, allocations: 1.241 MB / 0.864 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/1.42, allocations: 0 / 0.864 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09765/1.517, allocations: 82.24 MB / 0.9443 GB, free: 25.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/1.517, allocations: 245.4 kB / 0.9445 GB, free: 25.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.565/6.082, allocations: 0 / 0.9445 GB, free: 25.63 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)