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.0009454/0.000945, allocations: 84.38 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.404/1.404, allocations: 223.3 MB / 239 MB, free: 5.43 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.001177/0.001177, allocations: 172.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4722/0.4722, allocations: 79.47 MB / 420.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003849, allocations: 12 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 69.51 MB / 0.5571 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01082/0.4082, allocations: 12.99 MB / 0.5698 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.416, allocations: 3.519 MB / 0.5732 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.4192, allocations: 29.28 kB / 0.5732 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.4212, allocations: 396.9 kB / 0.5736 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.426, allocations: 1.206 MB / 0.5748 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.4291, allocations: 1.289 MB / 0.5761 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004412/0.4335, allocations: 3.413 MB / 0.5794 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.435, allocations: 0.6952 MB / 0.5801 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.4372, allocations: 1.333 MB / 0.5814 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.4397, allocations: 1.762 MB / 0.5831 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009809/0.4407, allocations: 144 kB / 0.5832 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.4422, allocations: 273.6 kB / 0.5835 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000986/0.4432, allocations: 0.605 MB / 0.5841 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.4443, allocations: 0.523 MB / 0.5846 GB, free: 26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.4469, allocations: 2.995 MB / 0.5875 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4469, allocations: 3.062 kB / 0.5875 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4469, allocations: 0 / 0.5875 GB, free: 25.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.429e-05/0.4469, allocations: 0 / 0.5875 GB, free: 25.07 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.02021/0.4671, allocations: 6.258 MB / 0.5936 GB, free: 22.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.4672, allocations: 9.156 kB / 0.5936 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.4686, allocations: 310.1 kB / 0.5939 GB, free: 22.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.4839, allocations: 2.297 MB / 0.5962 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006678/0.4906, allocations: 1.806 MB / 0.5979 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.4917, allocations: 0.7508 MB / 0.5987 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.4932, allocations: 222.7 kB / 0.5989 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.5044, allocations: 3.238 MB / 0.6021 GB, free: 19.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.5045, allocations: 0.5625 kB / 0.6021 GB, free: 19.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006292/0.5051, allocations: 86.17 kB / 0.6021 GB, free: 19.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-05/0.5052, allocations: 50.31 kB / 0.6022 GB, free: 19.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008225/0.5135, allocations: 2.989 MB / 0.6051 GB, free: 18.15 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.0258/0.5393, allocations: 10.21 MB / 0.6151 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5507, allocations: 4.904 MB / 0.6199 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004673/0.5554, allocations: 2.176 MB / 0.622 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.556, allocations: 44.27 kB / 0.622 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005221/0.5612, allocations: 2.442 MB / 0.6244 GB, free: 7.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 7.824e-06/0.5612, allocations: 0 / 0.6244 GB, free: 7.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1219/0.6832, allocations: 35.36 MB / 0.659 GB, free: 3.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.6834, allocations: 186.8 kB / 0.6591 GB, free: 3.652 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006045/0.6894, allocations: 2.314 MB / 0.6614 GB, free: 1.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001217/0.6907, allocations: 69.7 kB / 0.6615 GB, free: 1.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.6923, allocations: 1.176 MB / 0.6626 GB, free: 60 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/0.6947, allocations: 0.8859 MB / 0.6635 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009751/0.6957, allocations: 64 kB / 0.6635 GB, free: 15.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003634/0.696, allocations: 436.8 kB / 0.6639 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/0.7017, allocations: 2.166 MB / 0.6661 GB, free: 12.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006126/0.7078, allocations: 2.557 MB / 0.6686 GB, free: 9.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006133/0.714, allocations: 2.436 MB / 0.6709 GB, free: 7.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.7141, allocations: 4 kB / 0.6709 GB, free: 7.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04352/0.7576, allocations: 15.31 MB / 0.6859 GB, free: 7.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.7578, allocations: 118.8 kB / 0.686 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.7578, allocations: 11.92 kB / 0.686 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/0.7771, allocations: 6.496 MB / 0.6924 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.7803, allocations: 0.5656 MB / 0.6929 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06286/0.8432, allocations: 26.53 MB / 0.7188 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.8484, allocations: 0.5879 MB / 0.7194 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009385/0.8493, allocations: 116 kB / 0.7195 GB, free: 5.281 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 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.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 (334): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002583/0.8519, allocations: 0.5385 MB / 0.72 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/0.8533, allocations: 300.2 kB / 0.7203 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04171/0.8951, allocations: 14.78 MB / 0.7347 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/0.8952, allocations: 28 kB / 0.7348 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-05/0.8952, allocations: 19.83 kB / 0.7348 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.944e-05/0.8953, allocations: 15.95 kB / 0.7348 GB, free: 5.496 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.04949/0.9448, allocations: 18.41 MB / 0.7528 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.9449, allocations: 0 / 0.7528 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/0.9467, allocations: 255.6 kB / 0.753 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01824/0.965, allocations: 6.261 MB / 0.7591 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008999/0.9659, allocations: 57.17 kB / 0.7592 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3344/1.3, allocations: 25.49 MB / 0.7841 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.3, allocations: 2.938 kB / 0.7841 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04612/1.347, allocations: 17.35 MB / 0.801 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.348, allocations: 420.7 kB / 0.8014 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.349, allocations: 48.25 kB / 0.8015 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/1.352, allocations: 408.2 kB / 0.8019 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002638/1.355, allocations: 0.5788 MB / 0.8024 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.355, allocations: 65.92 kB / 0.8025 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002974/1.358, allocations: 1.521 MB / 0.804 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.358, allocations: 2.969 kB / 0.804 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004531/1.362, allocations: 1.2 MB / 0.8052 GB, free: 161.6 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 (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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04927/1.412, allocations: 17.99 MB / 0.8227 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02097/1.433, allocations: 7.691 MB / 0.8303 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.433, allocations: 128 / 0.8303 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01343/1.446, allocations: 5.111 MB / 0.8352 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/1.45, allocations: 266.3 kB / 0.8355 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06566/1.515, allocations: 34.45 MB / 0.8691 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.516, allocations: 1.819 MB / 0.8709 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001387/1.518, allocations: 269.7 kB / 0.8712 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.519, allocations: 1.237 MB / 0.8724 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.519, allocations: 2.625 kB / 0.8724 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.625, allocations: 81.99 MB / 0.9525 GB, free: 24.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.625, allocations: 225.3 kB / 0.9527 GB, free: 24.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/5.79, allocations: 0 / 0.9527 GB, free: 24.43 MB / 0.5606 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/linux/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) Environment - environmentSimulation: