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.006959/0.006959, allocations: 173.5 kB / 15.12 MB, free: 5.477 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.376/1.376, allocations: 223.2 MB / 239 MB, free: 1.559 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.001021/0.001021, allocations: 91.03 kB / 290.2 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5222/0.5222, allocations: 78.6 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.0006015, allocations: 16 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4716, allocations: 69.34 MB / 0.5559 GB, free: 38.86 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01306/0.4847, allocations: 12.19 MB / 0.5678 GB, free: 33 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.495, allocations: 3.613 MB / 0.5713 GB, free: 30.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005492/0.5006, allocations: 30.44 kB / 0.5713 GB, free: 30.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.5041, allocations: 390 kB / 0.5717 GB, free: 30.22 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007966/0.5121, allocations: 1.358 MB / 0.573 GB, free: 29.28 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.5164, allocations: 1.285 MB / 0.5743 GB, free: 28.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007074/0.5235, allocations: 2.397 MB / 0.5766 GB, free: 27.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.5256, allocations: 0.6966 MB / 0.5773 GB, free: 26.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.529, allocations: 1.337 MB / 0.5786 GB, free: 26.36 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.5327, allocations: 1.692 MB / 0.5802 GB, free: 25.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.5344, allocations: 147.1 kB / 0.5804 GB, free: 25.6 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.537, allocations: 261.3 kB / 0.5806 GB, free: 25.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.5385, allocations: 0.5893 MB / 0.5812 GB, free: 25.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.5403, allocations: 0.524 MB / 0.5817 GB, free: 24.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.5453, allocations: 2.846 MB / 0.5845 GB, free: 24.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5453, allocations: 0 / 0.5845 GB, free: 24.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5453, allocations: 0 / 0.5845 GB, free: 24.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.5455, allocations: 0 / 0.5845 GB, free: 24.03 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.02361/0.5691, allocations: 6.228 MB / 0.5906 GB, free: 21.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.5692, allocations: 8.406 kB / 0.5906 GB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001473/0.5707, allocations: 303.2 kB / 0.5909 GB, free: 21.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.586, allocations: 2.301 MB / 0.5931 GB, free: 21.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006124/0.5921, allocations: 1.8 MB / 0.5949 GB, free: 20.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009038/0.5931, allocations: 0.7511 MB / 0.5956 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.5945, allocations: 214.4 kB / 0.5958 GB, free: 19.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.606, allocations: 3.208 MB / 0.599 GB, free: 18.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.122e-05/0.6061, allocations: 3.938 kB / 0.599 GB, free: 18.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008638/0.607, allocations: 100.6 kB / 0.5991 GB, free: 18.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.6071, allocations: 53.14 kB / 0.5991 GB, free: 18.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008604/0.6157, allocations: 2.973 MB / 0.602 GB, free: 17.11 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.02936/0.6451, allocations: 10.47 MB / 0.6122 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.6583, allocations: 4.884 MB / 0.617 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.659, allocations: 44.08 kB / 0.6171 GB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006934/0.6659, allocations: 2.438 MB / 0.6194 GB, free: 7.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 1.562e-05/0.666, allocations: 0 / 0.6194 GB, free: 7.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1306/0.7966, allocations: 33.47 MB / 0.6521 GB, free: 6.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7968, allocations: 184.2 kB / 0.6523 GB, free: 6.637 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.801, allocations: 2.298 MB / 0.6545 GB, free: 4.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008895/0.8019, allocations: 69.7 kB / 0.6546 GB, free: 4.246 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.8032, allocations: 1.176 MB / 0.6558 GB, free: 3.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/0.8051, allocations: 0.8703 MB / 0.6566 GB, free: 2.176 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/0.806, allocations: 68 kB / 0.6567 GB, free: 2.109 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000379/0.8064, allocations: 432.9 kB / 0.6571 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005586/0.812, allocations: 2.154 MB / 0.6592 GB, free: 15.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006273/0.8183, allocations: 2.522 MB / 0.6616 GB, free: 12.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006379/0.8248, allocations: 2.423 MB / 0.664 GB, free: 10.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.8248, allocations: 4 kB / 0.664 GB, free: 10.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0497/0.8745, allocations: 15.21 MB / 0.6789 GB, free: 11.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.8747, allocations: 118.8 kB / 0.679 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.8747, allocations: 4 kB / 0.679 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/0.8963, allocations: 6.438 MB / 0.6853 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.8997, allocations: 0.5851 MB / 0.6858 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07263/0.9724, allocations: 26.48 MB / 0.7117 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/0.9777, allocations: 0.5909 MB / 0.7123 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007336/0.9785, allocations: 119.9 kB / 0.7124 GB, free: 8.637 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.001763/0.9802, allocations: 0.5389 MB / 0.7129 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/0.9811, allocations: 296.3 kB / 0.7132 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04649/1.028, allocations: 14.76 MB / 0.7276 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/1.028, allocations: 31.95 kB / 0.7276 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/1.028, allocations: 16 kB / 0.7277 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/1.028, allocations: 15.95 kB / 0.7277 GB, free: 8.871 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.05115/1.079, allocations: 18.49 MB / 0.7457 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.079, allocations: 4 kB / 0.7457 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/1.081, allocations: 251.6 kB / 0.746 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01991/1.101, allocations: 6.284 MB / 0.7521 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007372/1.101, allocations: 47.98 kB / 0.7522 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3299/1.431, allocations: 26.86 MB / 0.7784 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.432, allocations: 3.938 kB / 0.7784 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05061/1.482, allocations: 17.37 MB / 0.7954 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.483, allocations: 415.7 kB / 0.7957 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008655/1.484, allocations: 48.84 kB / 0.7958 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003357/1.488, allocations: 406.7 kB / 0.7962 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002062/1.49, allocations: 0.5833 MB / 0.7968 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/1.49, allocations: 71.44 kB / 0.7968 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002624/1.493, allocations: 1.509 MB / 0.7983 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.493, allocations: 0 / 0.7983 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004448/1.497, allocations: 1.19 MB / 0.7995 GB, free: 160.6 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.04992/1.547, allocations: 18.11 MB / 0.8171 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0204/1.568, allocations: 7.537 MB / 0.8245 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.568, allocations: 4 kB / 0.8245 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01438/1.582, allocations: 5.113 MB / 0.8295 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.584, allocations: 223.8 kB / 0.8297 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.597, allocations: 11.84 MB / 0.8413 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.598, allocations: 1.88 MB / 0.8431 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001098/1.599, allocations: 261.9 kB / 0.8434 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.6, allocations: 1.231 MB / 0.8446 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/1.6, allocations: 0 / 0.8446 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.709, allocations: 79.56 MB / 0.9223 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.709, allocations: 224.5 kB / 0.9225 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.871/6.58, allocations: 0 / 0.9225 GB, free: 50.41 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)