Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.001416/0.001416, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.287/1.287, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001072/0.001072, allocations: 184.6 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4303/0.4303, allocations: 79.45 MB / 420.7 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 12 kB / 0.4891 GB, free: 5.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 69.5 MB / 0.557 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.008267/0.3148, allocations: 12.23 MB / 0.5689 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.321, allocations: 3.615 MB / 0.5724 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.323, allocations: 32.62 kB / 0.5725 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.3243, allocations: 403 kB / 0.5728 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.3284, allocations: 1.346 MB / 0.5742 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.3312, allocations: 1.279 MB / 0.5754 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.3344, allocations: 2.397 MB / 0.5777 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/0.3353, allocations: 0.7011 MB / 0.5784 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.3366, allocations: 1.336 MB / 0.5797 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.338, allocations: 1.699 MB / 0.5814 GB, free: 27.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.3384, allocations: 145.7 kB / 0.5815 GB, free: 27.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.3391, allocations: 259.1 kB / 0.5818 GB, free: 27.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.3395, allocations: 0.5871 MB / 0.5824 GB, free: 26.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.34, allocations: 0.5278 MB / 0.5829 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3421, allocations: 2.847 MB / 0.5856 GB, free: 25.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3421, allocations: 0 / 0.5856 GB, free: 25.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3421, allocations: 0 / 0.5856 GB, free: 25.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.055e-05/0.3422, allocations: 0 / 0.5856 GB, free: 25.79 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.0204/0.3626, allocations: 6.227 MB / 0.5917 GB, free: 23.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3627, allocations: 8.594 kB / 0.5917 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008036/0.3635, allocations: 308.3 kB / 0.592 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.3784, allocations: 2.299 MB / 0.5943 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.3821, allocations: 1.793 MB / 0.596 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005905/0.3827, allocations: 0.7493 MB / 0.5968 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.3832, allocations: 218.1 kB / 0.597 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00603/0.3892, allocations: 3.21 MB / 0.6001 GB, free: 19.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.3893, allocations: 5.031 kB / 0.6001 GB, free: 19.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.3895, allocations: 82.77 kB / 0.6002 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.3895, allocations: 53.2 kB / 0.6002 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.3955, allocations: 2.983 MB / 0.6032 GB, free: 18.88 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.01825/0.4138, allocations: 10.48 MB / 0.6134 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.4253, allocations: 4.876 MB / 0.6181 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/0.4257, allocations: 40.12 kB / 0.6182 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004663/0.4304, allocations: 2.437 MB / 0.6206 GB, free: 9.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.078e-06/0.4304, allocations: 0 / 0.6206 GB, free: 9.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.118/0.5485, allocations: 33.47 MB / 0.6533 GB, free: 9.441 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.5486, allocations: 180.2 kB / 0.6534 GB, free: 9.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.5522, allocations: 2.301 MB / 0.6557 GB, free: 6.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007038/0.553, allocations: 69.7 kB / 0.6557 GB, free: 6.832 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/0.5539, allocations: 1.18 MB / 0.6569 GB, free: 5.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001271/0.5552, allocations: 0.8703 MB / 0.6577 GB, free: 4.758 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.5555, allocations: 68 kB / 0.6578 GB, free: 4.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5557, allocations: 428.9 kB / 0.6582 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/0.5601, allocations: 2.158 MB / 0.6603 GB, free: 2.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/0.5655, allocations: 2.522 MB / 0.6628 GB, free: 15.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005671/0.5712, allocations: 2.427 MB / 0.6652 GB, free: 13.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/0.5713, allocations: 4 kB / 0.6652 GB, free: 13.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04422/0.6155, allocations: 15.21 MB / 0.68 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/0.6156, allocations: 116.5 kB / 0.6801 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.6157, allocations: 4 kB / 0.6801 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02004/0.6357, allocations: 6.441 MB / 0.6864 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/0.639, allocations: 0.589 MB / 0.687 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06534/0.7044, allocations: 26.48 MB / 0.7129 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005002/0.7095, allocations: 0.5947 MB / 0.7134 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.7105, allocations: 116 kB / 0.7135 GB, free: 11.27 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.002111/0.7127, allocations: 0.5379 MB / 0.7141 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.7137, allocations: 297.4 kB / 0.7144 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04381/0.7575, allocations: 14.76 MB / 0.7288 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.7576, allocations: 27.95 kB / 0.7288 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.565e-05/0.7577, allocations: 19.94 kB / 0.7288 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.813e-05/0.7578, allocations: 15.95 kB / 0.7288 GB, free: 11.5 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.0489/0.8067, allocations: 18.48 MB / 0.7469 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.8067, allocations: 1.594 kB / 0.7469 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.8084, allocations: 247.7 kB / 0.7471 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01875/0.8272, allocations: 6.285 MB / 0.7533 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005545/0.8278, allocations: 52.92 kB / 0.7533 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2641/1.092, allocations: 26.86 MB / 0.7795 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.092, allocations: 2.969 kB / 0.7795 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04709/1.139, allocations: 17.37 MB / 0.7965 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/1.14, allocations: 418.8 kB / 0.7969 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008961/1.141, allocations: 43.91 kB / 0.7969 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/1.145, allocations: 409.8 kB / 0.7973 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002307/1.147, allocations: 0.5752 MB / 0.7979 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/1.147, allocations: 69.64 kB / 0.798 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002709/1.15, allocations: 1.512 MB / 0.7994 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.112e-06/1.15, allocations: 1.062 kB / 0.7994 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004878/1.155, allocations: 1.186 MB / 0.8006 GB, free: 161 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.05016/1.205, allocations: 18.13 MB / 0.8183 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.223, allocations: 7.534 MB / 0.8257 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.223, allocations: 0 / 0.8257 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/1.237, allocations: 5.114 MB / 0.8306 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.239, allocations: 221.4 kB / 0.8309 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.254, allocations: 11.83 MB / 0.8424 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.256, allocations: 1.879 MB / 0.8442 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001293/1.257, allocations: 261.6 kB / 0.8445 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.259, allocations: 1.229 MB / 0.8457 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/1.259, allocations: 0 / 0.8457 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.361, allocations: 79.56 MB / 0.9234 GB, free: 54.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.361, allocations: 221 kB / 0.9236 GB, free: 54.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.941/5.302, allocations: 3.938 kB / 0.9236 GB, free: 54.67 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: