Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.0008741/0.0008741, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.338/1.338, allocations: 223.2 MB / 239 MB, free: 5.605 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.001238/0.001238, allocations: 180.5 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4688/0.4688, allocations: 78.56 MB / 419.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 12 kB / 499.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 69.36 MB / 0.5559 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2717/0.4186, allocations: 12.92 MB / 0.5685 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008507/0.4271, allocations: 3.469 MB / 0.5719 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.4306, allocations: 31.12 kB / 0.5719 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.4328, allocations: 394.8 kB / 0.5723 GB, free: 32.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.4381, allocations: 1.203 MB / 0.5735 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.4418, allocations: 1.281 MB / 0.5747 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005311/0.4471, allocations: 3.389 MB / 0.578 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.449, allocations: 0.7022 MB / 0.5787 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.4518, allocations: 1.313 MB / 0.58 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.4546, allocations: 1.745 MB / 0.5817 GB, free: 28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.4558, allocations: 144.2 kB / 0.5819 GB, free: 28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.4575, allocations: 273.2 kB / 0.5821 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.4589, allocations: 0.5962 MB / 0.5827 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.4602, allocations: 0.5265 MB / 0.5832 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.4638, allocations: 2.979 MB / 0.5861 GB, free: 26.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4638, allocations: 0 / 0.5861 GB, free: 26.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4638, allocations: 2.594 kB / 0.5861 GB, free: 26.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001894/0.464, allocations: 0 / 0.5861 GB, free: 26.36 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02103/0.485, allocations: 6.22 MB / 0.5922 GB, free: 24.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4851, allocations: 13.34 kB / 0.5922 GB, free: 24.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/0.4863, allocations: 303.9 kB / 0.5925 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.5011, allocations: 2.296 MB / 0.5947 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/0.5064, allocations: 1.792 MB / 0.5965 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008646/0.5073, allocations: 0.7599 MB / 0.5972 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.5085, allocations: 215.7 kB / 0.5974 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009915/0.5184, allocations: 3.223 MB / 0.6006 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.5185, allocations: 3.703 kB / 0.6006 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005972/0.5191, allocations: 82.56 kB / 0.6007 GB, free: 20.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.5192, allocations: 54.45 kB / 0.6007 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.5263, allocations: 2.981 MB / 0.6036 GB, free: 19.46 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.02248/0.5488, allocations: 10.18 MB / 0.6136 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.5602, allocations: 4.877 MB / 0.6183 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004537/0.5648, allocations: 2.168 MB / 0.6205 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.5653, allocations: 42.44 kB / 0.6205 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005152/0.5705, allocations: 2.445 MB / 0.6229 GB, free: 9.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 7.394e-06/0.5705, allocations: 0 / 0.6229 GB, free: 9.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1105/0.6811, allocations: 33.41 MB / 0.6555 GB, free: 7.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6812, allocations: 180.2 kB / 0.6557 GB, free: 7.293 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.6862, allocations: 2.298 MB / 0.6579 GB, free: 4.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008995/0.6871, allocations: 73.69 kB / 0.658 GB, free: 4.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6884, allocations: 1.184 MB / 0.6592 GB, free: 3.703 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001711/0.6901, allocations: 0.8703 MB / 0.66 GB, free: 2.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008308/0.6909, allocations: 68 kB / 0.6601 GB, free: 2.754 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003232/0.6913, allocations: 432.9 kB / 0.6605 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005121/0.6964, allocations: 2.158 MB / 0.6626 GB, free: 168 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005311/0.7017, allocations: 2.533 MB / 0.6651 GB, free: 13.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.7072, allocations: 2.431 MB / 0.6674 GB, free: 11.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.7073, allocations: 0 / 0.6674 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04315/0.7504, allocations: 15.21 MB / 0.6823 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7506, allocations: 114.8 kB / 0.6824 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.7507, allocations: 8 kB / 0.6824 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/0.7698, allocations: 6.427 MB / 0.6887 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.7731, allocations: 0.5929 MB / 0.6893 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06212/0.8353, allocations: 25.15 MB / 0.7138 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/0.8404, allocations: 0.5956 MB / 0.7144 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009266/0.8413, allocations: 116 kB / 0.7145 GB, free: 10.65 MB / 0.5137 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 (331): * Single equations (assignments): 326 * 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.002521/0.8439, allocations: 0.5379 MB / 0.715 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/0.8453, allocations: 296.3 kB / 0.7153 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04102/0.8864, allocations: 14.75 MB / 0.7297 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/0.8865, allocations: 28 kB / 0.7298 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.072e-05/0.8865, allocations: 16 kB / 0.7298 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.102e-05/0.8866, allocations: 17.2 kB / 0.7298 GB, free: 10.89 MB / 0.5294 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.04959/0.9362, allocations: 18.39 MB / 0.7477 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.9363, allocations: 0 / 0.7477 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.9381, allocations: 247.6 kB / 0.748 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01799/0.9561, allocations: 6.284 MB / 0.7541 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008134/0.9569, allocations: 51.98 kB / 0.7542 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3269/1.284, allocations: 25.49 MB / 0.7791 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.284, allocations: 7.703 kB / 0.7791 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04474/1.329, allocations: 17.33 MB / 0.796 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.33, allocations: 419.3 kB / 0.7964 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009179/1.331, allocations: 44.2 kB / 0.7964 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.334, allocations: 410.6 kB / 0.7968 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002408/1.336, allocations: 0.5805 MB / 0.7974 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.337, allocations: 67.58 kB / 0.7975 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002673/1.339, allocations: 1.512 MB / 0.7989 GB, free: 162 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.339, allocations: 0 / 0.7989 GB, free: 162 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004525/1.344, allocations: 1.188 MB / 0.8001 GB, free: 162 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04734/1.391, allocations: 17.96 MB / 0.8176 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0184/1.41, allocations: 7.539 MB / 0.825 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.41, allocations: 1.75 kB / 0.825 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/1.423, allocations: 5.11 MB / 0.83 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004774/1.428, allocations: 263.8 kB / 0.8302 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08038/1.508, allocations: 34.13 MB / 0.8636 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.51, allocations: 1.818 MB / 0.8653 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002034/1.512, allocations: 263.5 kB / 0.8656 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/1.515, allocations: 1.226 MB / 0.8668 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of SimCode: time 3.436e-06/1.515, allocations: 0 / 0.8668 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/1.627, allocations: 81.49 MB / 0.9464 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.627, allocations: 224.9 kB / 0.9466 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/5.94, allocations: 3.938 kB / 0.9466 GB, free: 31.24 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: