Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.0008615/0.0008615, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.152/1.152, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.0008534/0.000853, allocations: 180.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3866/0.3866, allocations: 78.54 MB / 420.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 15.98 kB / 0.4888 GB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09943, allocations: 69.35 MB / 0.5565 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.1806/0.2801, allocations: 13.71 MB / 0.5699 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.285, allocations: 3.563 MB / 0.5734 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008924/0.2859, allocations: 32.44 kB / 0.5734 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.2867, allocations: 433.9 kB / 0.5738 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.289, allocations: 1.224 MB / 0.575 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.2912, allocations: 1.407 MB / 0.5764 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.2936, allocations: 3.511 MB / 0.5798 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.2944, allocations: 0.7993 MB / 0.5806 GB, free: 27.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2955, allocations: 1.332 MB / 0.5819 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.2968, allocations: 1.765 MB / 0.5836 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.2971, allocations: 139.2 kB / 0.5837 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.2976, allocations: 277.8 kB / 0.584 GB, free: 26.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.298, allocations: 0.6118 MB / 0.5846 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007669/0.2987, allocations: 1.486 MB / 0.586 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.3007, allocations: 3.71 MB / 0.5897 GB, free: 23.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3007, allocations: 0 / 0.5897 GB, free: 23.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3007, allocations: 0 / 0.5897 GB, free: 23.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.3008, allocations: 0 / 0.5897 GB, free: 23.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.01862/0.3194, allocations: 6.126 MB / 0.5957 GB, free: 21.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3194, allocations: 10.59 kB / 0.5957 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004014/0.3198, allocations: 295.8 kB / 0.5959 GB, free: 21.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.3333, allocations: 2.302 MB / 0.5982 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.3359, allocations: 1.876 MB / 0.6 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/0.3365, allocations: 0.7503 MB / 0.6008 GB, free: 19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.3369, allocations: 214.5 kB / 0.601 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00586/0.3427, allocations: 3.227 MB / 0.6041 GB, free: 17.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.3428, allocations: 0 / 0.6041 GB, free: 17.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.343, allocations: 94.64 kB / 0.6042 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.343, allocations: 49.03 kB / 0.6043 GB, free: 17.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005616/0.3487, allocations: 2.986 MB / 0.6072 GB, free: 16.71 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.01556/0.3642, allocations: 10.12 MB / 0.617 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.3749, allocations: 4.867 MB / 0.6218 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003683/0.3786, allocations: 2.166 MB / 0.6239 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.3788, allocations: 40.23 kB / 0.624 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003868/0.3826, allocations: 2.426 MB / 0.6263 GB, free: 5.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 3.427e-06/0.3827, allocations: 3.938 kB / 0.6263 GB, free: 5.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1283/0.511, allocations: 36.49 MB / 0.662 GB, free: 1.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.5111, allocations: 180.2 kB / 0.6621 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.5143, allocations: 2.285 MB / 0.6644 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005902/0.5149, allocations: 73.69 kB / 0.6644 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007684/0.5157, allocations: 1.172 MB / 0.6656 GB, free: 13.28 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009055/0.5166, allocations: 0.8678 MB / 0.6664 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.517, allocations: 288.4 kB / 0.6667 GB, free: 12.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.5171, allocations: 305.1 kB / 0.667 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004308/0.5214, allocations: 2.146 MB / 0.6691 GB, free: 9.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.5259, allocations: 2.52 MB / 0.6716 GB, free: 7.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05394/0.5799, allocations: 15.43 MB / 0.6866 GB, free: 7.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.5799, allocations: 7.938 kB / 0.6866 GB, free: 7.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04237/0.6223, allocations: 15.09 MB / 0.7014 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/0.6224, allocations: 122.8 kB / 0.7015 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6224, allocations: 4 kB / 0.7015 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01864/0.6411, allocations: 6.305 MB / 0.7076 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6438, allocations: 0.5578 MB / 0.7082 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05794/0.7017, allocations: 24.78 MB / 0.7324 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/0.706, allocations: 0.583 MB / 0.7329 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.7063, allocations: 120 kB / 0.7331 GB, free: 7.605 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.001097/0.7074, allocations: 0.5402 MB / 0.7336 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.7078, allocations: 292.3 kB / 0.7339 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04219/0.75, allocations: 14.74 MB / 0.7483 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.7501, allocations: 24 kB / 0.7483 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.7501, allocations: 25 kB / 0.7483 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.7501, allocations: 11.95 kB / 0.7483 GB, free: 7.914 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.04566/0.7958, allocations: 18.34 MB / 0.7662 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.7958, allocations: 7.984 kB / 0.7662 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.7971, allocations: 243.7 kB / 0.7665 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2059/1.003, allocations: 6.262 MB / 0.7726 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/1.004, allocations: 55.98 kB / 0.7726 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05153/1.055, allocations: 25.53 MB / 0.7976 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.055, allocations: 3.656 kB / 0.7976 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04694/1.102, allocations: 17.3 MB / 0.8145 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/1.103, allocations: 416.8 kB / 0.8149 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/1.103, allocations: 49.33 kB / 0.8149 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.106, allocations: 409.5 kB / 0.8153 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001934/1.108, allocations: 0.5668 MB / 0.8159 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.108, allocations: 65.19 kB / 0.8159 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001918/1.11, allocations: 1.51 MB / 0.8174 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.11, allocations: 0 / 0.8174 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002402/1.113, allocations: 1.176 MB / 0.8186 GB, free: 152.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 (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.04246/1.155, allocations: 17.94 MB / 0.8361 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.171, allocations: 7.479 MB / 0.8434 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.171, allocations: 1.75 kB / 0.8434 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.183, allocations: 5.088 MB / 0.8483 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.185, allocations: 262.5 kB / 0.8486 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09959/1.285, allocations: 52.49 MB / 0.8998 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/1.286, allocations: 1.81 MB / 0.9016 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001073/1.287, allocations: 262.2 kB / 0.9019 GB, free: 77.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.288, allocations: 1.218 MB / 0.9031 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/1.288, allocations: 0 / 0.9031 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09059/1.379, allocations: 80.9 MB / 0.9821 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.379, allocations: 242.7 kB / 0.9823 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/4.784, allocations: 0 / 0.9823 GB, free: 11.76 MB / 0.5762 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)