Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.005517/0.005518, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.335/1.335, allocations: 223.3 MB / 239.1 MB, free: 1.727 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007331/0.0007331, allocations: 106.1 kB / 290.3 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4738/0.4738, allocations: 78.63 MB / 420 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 16 kB / 500 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.422, allocations: 69.34 MB / 0.556 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01593/0.438, allocations: 12.92 MB / 0.5686 GB, free: 32.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.4491, allocations: 3.484 MB / 0.572 GB, free: 29.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004095/0.4532, allocations: 31.34 kB / 0.572 GB, free: 29.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.4556, allocations: 395.3 kB / 0.5724 GB, free: 29.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007415/0.4631, allocations: 1.205 MB / 0.5736 GB, free: 28.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.4686, allocations: 1.295 MB / 0.5748 GB, free: 28.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007957/0.4766, allocations: 3.387 MB / 0.5782 GB, free: 26.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.4792, allocations: 0.6925 MB / 0.5788 GB, free: 26.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.4824, allocations: 1.323 MB / 0.5801 GB, free: 25.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.486, allocations: 1.741 MB / 0.5818 GB, free: 24.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.4874, allocations: 152.4 kB / 0.582 GB, free: 24.81 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.4896, allocations: 270.2 kB / 0.5822 GB, free: 24.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.4909, allocations: 0.5919 MB / 0.5828 GB, free: 24.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.4924, allocations: 0.5267 MB / 0.5833 GB, free: 24.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004821/0.4973, allocations: 2.977 MB / 0.5862 GB, free: 23.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.4973, allocations: 0 / 0.5862 GB, free: 23.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4973, allocations: 0 / 0.5862 GB, free: 23.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002055/0.4975, allocations: 3.031 kB / 0.5862 GB, free: 23.18 MB / 426.7 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.03198/0.5295, allocations: 6.227 MB / 0.5923 GB, free: 20.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5296, allocations: 7.562 kB / 0.5923 GB, free: 20.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.5308, allocations: 300.8 kB / 0.5926 GB, free: 20.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/0.554, allocations: 2.301 MB / 0.5949 GB, free: 20.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.5593, allocations: 1.804 MB / 0.5966 GB, free: 19.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000833/0.5601, allocations: 0.7471 MB / 0.5973 GB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007914/0.5609, allocations: 215 kB / 0.5975 GB, free: 18.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.5715, allocations: 3.228 MB / 0.6007 GB, free: 17.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.5715, allocations: 0 / 0.6007 GB, free: 17.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.5719, allocations: 88.81 kB / 0.6008 GB, free: 17.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.572, allocations: 57.62 kB / 0.6008 GB, free: 17.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.582, allocations: 2.981 MB / 0.6037 GB, free: 16.27 MB / 426.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.03127/0.6133, allocations: 10.17 MB / 0.6137 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/0.6332, allocations: 4.879 MB / 0.6184 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008557/0.6418, allocations: 2.168 MB / 0.6206 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.6423, allocations: 47.27 kB / 0.6206 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007552/0.6499, allocations: 2.439 MB / 0.623 GB, free: 4.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 7.584e-06/0.6499, allocations: 0 / 0.623 GB, free: 4.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1387/0.7887, allocations: 33.42 MB / 0.6556 GB, free: 3.449 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7888, allocations: 180.2 kB / 0.6558 GB, free: 3.234 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.7924, allocations: 2.29 MB / 0.658 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000695/0.7932, allocations: 77.69 kB / 0.6581 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009321/0.7941, allocations: 1.18 MB / 0.6593 GB, free: 15.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.7952, allocations: 0.8742 MB / 0.6601 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.7955, allocations: 64 kB / 0.6602 GB, free: 14.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7957, allocations: 428.9 kB / 0.6606 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004566/0.8003, allocations: 2.162 MB / 0.6627 GB, free: 12.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/0.8052, allocations: 2.526 MB / 0.6652 GB, free: 9.496 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.8101, allocations: 2.427 MB / 0.6675 GB, free: 7.027 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.8101, allocations: 7.953 kB / 0.6675 GB, free: 7.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04524/0.8554, allocations: 15.2 MB / 0.6824 GB, free: 7.742 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.8555, allocations: 118.8 kB / 0.6825 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.8555, allocations: 8 kB / 0.6825 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02039/0.8759, allocations: 6.43 MB / 0.6888 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.8792, allocations: 0.6006 MB / 0.6894 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06268/0.9419, allocations: 25.14 MB / 0.7139 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/0.947, allocations: 0.587 MB / 0.7145 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004874/0.9475, allocations: 123.9 kB / 0.7146 GB, free: 6.559 MB / 0.5105 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.001324/0.9488, allocations: 0.5414 MB / 0.7152 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/0.9495, allocations: 296.3 kB / 0.7154 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04513/0.9946, allocations: 14.76 MB / 0.7298 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.445e-05/0.9947, allocations: 24 kB / 0.7299 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/0.9947, allocations: 20 kB / 0.7299 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-05/0.9948, allocations: 19.89 kB / 0.7299 GB, free: 6.785 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.05135/1.046, allocations: 18.38 MB / 0.7479 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.046, allocations: 0 / 0.7479 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.048, allocations: 251.7 kB / 0.7481 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02036/1.068, allocations: 6.284 MB / 0.7542 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007621/1.069, allocations: 55.94 kB / 0.7543 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3195/1.389, allocations: 25.49 MB / 0.7792 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.389, allocations: 5.953 kB / 0.7792 GB, free: 164.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05153/1.44, allocations: 17.31 MB / 0.7961 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.441, allocations: 422.8 kB / 0.7965 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007636/1.442, allocations: 48.33 kB / 0.7965 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.445, allocations: 412.6 kB / 0.7969 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002223/1.448, allocations: 0.5793 MB / 0.7975 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.448, allocations: 67.94 kB / 0.7976 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002677/1.451, allocations: 1.511 MB / 0.799 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/1.451, allocations: 0 / 0.799 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004376/1.455, allocations: 1.188 MB / 0.8002 GB, free: 161 MB / 0.5573 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.05108/1.506, allocations: 17.96 MB / 0.8177 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01878/1.525, allocations: 7.542 MB / 0.8251 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.525, allocations: 0 / 0.8251 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/1.539, allocations: 5.108 MB / 0.8301 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.541, allocations: 266.8 kB / 0.8303 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07219/1.614, allocations: 34.13 MB / 0.8637 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/1.615, allocations: 1.818 MB / 0.8655 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001098/1.616, allocations: 270.6 kB / 0.8657 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.617, allocations: 1.226 MB / 0.8669 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/1.617, allocations: 0 / 0.8669 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.718, allocations: 81.5 MB / 0.9465 GB, free: 25.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/1.718, allocations: 225.9 kB / 0.9467 GB, free: 24.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/6.77, allocations: 0 / 0.9467 GB, free: 24.95 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)