Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.001222/0.001222, allocations: 181.2 kB / 15.45 MB, free: 6.23 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.471/1.471, allocations: 223.2 MB / 239.4 MB, free: 1.602 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.00103/0.00103, allocations: 105.9 kB / 290.7 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5139/0.5139, allocations: 78.62 MB / 420.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 12.38 kB / 0.4889 GB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4311, allocations: 69.34 MB / 0.5566 GB, free: 39.2 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008411/0.4395, allocations: 6.347 MB / 0.5628 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005795/0.4454, allocations: 1.995 MB / 0.5647 GB, free: 35.6 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.4471, allocations: 13.31 kB / 0.5647 GB, free: 35.6 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.4481, allocations: 177.3 kB / 0.5649 GB, free: 35.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.4516, allocations: 0.6985 MB / 0.5656 GB, free: 35.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.4538, allocations: 0.5922 MB / 0.5662 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.4571, allocations: 1.491 MB / 0.5676 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.4578, allocations: 289.1 kB / 0.5679 GB, free: 34.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.4592, allocations: 0.5675 MB / 0.5685 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4603, allocations: 0.7405 MB / 0.5692 GB, free: 33.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.4605, allocations: 61.19 kB / 0.5692 GB, free: 33.72 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.4612, allocations: 192.5 kB / 0.5694 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.4615, allocations: 265.6 kB / 0.5697 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.4622, allocations: 0.6201 MB / 0.5703 GB, free: 33.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.464, allocations: 1.548 MB / 0.5718 GB, free: 32.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.464, allocations: 4 kB / 0.5718 GB, free: 32.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.464, allocations: 3.938 kB / 0.5718 GB, free: 32.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.464, allocations: 2.75 kB / 0.5718 GB, free: 32.53 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.01023/0.4743, allocations: 2.493 MB / 0.5742 GB, free: 31.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4744, allocations: 11.25 kB / 0.5743 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003703/0.4747, allocations: 127.6 kB / 0.5744 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006843/0.4816, allocations: 0.7854 MB / 0.5751 GB, free: 31.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.4842, allocations: 0.8843 MB / 0.576 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/0.4846, allocations: 265.3 kB / 0.5763 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.4848, allocations: 86.31 kB / 0.5763 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.4877, allocations: 1.147 MB / 0.5775 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.4877, allocations: 0 / 0.5775 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4879, allocations: 31.72 kB / 0.5775 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.4879, allocations: 16.34 kB / 0.5775 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4907, allocations: 1.054 MB / 0.5785 GB, free: 29.52 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.008356/0.499, allocations: 3.895 MB / 0.5823 GB, free: 27.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009762/0.5088, allocations: 2.92 MB / 0.5852 GB, free: 26.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.511, allocations: 0.7344 MB / 0.5859 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.5112, allocations: 20.77 kB / 0.5859 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/0.5133, allocations: 0.8734 MB / 0.5868 GB, free: 25.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 5.31e-06/0.5133, allocations: 0 / 0.5868 GB, free: 25.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.04028/0.5536, allocations: 8.792 MB / 0.5954 GB, free: 24.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.5537, allocations: 122.7 kB / 0.5955 GB, free: 24.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.5563, allocations: 1.086 MB / 0.5965 GB, free: 23.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003177/0.5566, allocations: 42.67 kB / 0.5966 GB, free: 23.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.5571, allocations: 0.4931 MB / 0.5971 GB, free: 23.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.5576, allocations: 350.5 kB / 0.5974 GB, free: 22.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.5578, allocations: 143.8 kB / 0.5975 GB, free: 22.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.5579, allocations: 305.1 kB / 0.5978 GB, free: 22.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.5603, allocations: 0.8223 MB / 0.5986 GB, free: 22.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.5629, allocations: 0.9871 MB / 0.5996 GB, free: 21.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03255/0.5955, allocations: 5.983 MB / 0.6054 GB, free: 20.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.5955, allocations: 9 kB / 0.6054 GB, free: 20.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.02103/0.6166, allocations: 5.199 MB / 0.6105 GB, free: 18.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.6167, allocations: 59.39 kB / 0.6106 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.6167, allocations: 4 kB / 0.6106 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007577/0.6243, allocations: 1.873 MB / 0.6124 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6262, allocations: 275.6 kB / 0.6127 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.6506, allocations: 8.833 MB / 0.6213 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.653, allocations: 242.7 kB / 0.6215 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.6532, allocations: 55.97 kB / 0.6216 GB, free: 6.941 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000721/0.6539, allocations: 303.6 kB / 0.6219 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.6542, allocations: 122.5 kB / 0.622 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/0.671, allocations: 4.721 MB / 0.6266 GB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.671, allocations: 12 kB / 0.6266 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.6711, allocations: 4 kB / 0.6266 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.6711, allocations: 11.98 kB / 0.6266 GB, free: 1.734 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 postOpt removeSimpleEquations (simulation): time 0.02109/0.6922, allocations: 6.295 MB / 0.6328 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.6922, allocations: 0 / 0.6328 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/0.6931, allocations: 103.8 kB / 0.6329 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00809/0.7012, allocations: 1.887 MB / 0.6347 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.7015, allocations: 24 kB / 0.6347 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/0.7289, allocations: 9.687 MB / 0.6442 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.729, allocations: 0 / 0.6442 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/0.7484, allocations: 5.639 MB / 0.6497 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.749, allocations: 227.3 kB / 0.6499 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.7492, allocations: 20 kB / 0.6499 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7503, allocations: 143.9 kB / 0.6501 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/0.751, allocations: 188.7 kB / 0.6503 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.7511, allocations: 28 kB / 0.6503 GB, free: 9.051 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.7522, allocations: 0.7315 MB / 0.651 GB, free: 8.312 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7523, allocations: 0 / 0.651 GB, free: 8.312 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00151/0.7538, allocations: 483.5 kB / 0.6515 GB, free: 7.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/0.769, allocations: 6.217 MB / 0.6575 GB, free: 1.578 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006497/0.7756, allocations: 2.804 MB / 0.6603 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.7756, allocations: 4.125 kB / 0.6603 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/0.7799, allocations: 1.807 MB / 0.662 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.781, allocations: 112.5 kB / 0.6622 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/0.8222, allocations: 18.96 MB / 0.6807 GB, free: 9.371 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.823, allocations: 1.12 MB / 0.6818 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005985/0.8236, allocations: 120 kB / 0.6819 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.8242, allocations: 479.3 kB / 0.6823 GB, free: 7.633 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8242, allocations: 0 / 0.6823 GB, free: 7.633 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.878, allocations: 31.15 MB / 0.7128 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.8783, allocations: 244.2 kB / 0.713 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/3.967, allocations: 0 / 0.713 GB, free: 8.453 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)