Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.28/1.28, allocations: 222.9 MB / 238.9 MB, free: 4.617 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.001309/0.001309, allocations: 192.4 kB / 289.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4495/0.4495, allocations: 78.53 MB / 417.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 497 MB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 68.18 MB / 0.552 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2122/0.3351, allocations: 7.01 MB / 0.5588 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3382, allocations: 2.032 MB / 0.5608 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.3386, allocations: 12.56 kB / 0.5608 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.3392, allocations: 189.7 kB / 0.561 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.3406, allocations: 0.7185 MB / 0.5617 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.3416, allocations: 0.5959 MB / 0.5623 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3427, allocations: 1.669 MB / 0.5639 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.343, allocations: 322.9 kB / 0.5642 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.3436, allocations: 0.6916 MB / 0.5649 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.3443, allocations: 0.8771 MB / 0.5657 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.3444, allocations: 131.5 kB / 0.5659 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.3448, allocations: 272.1 kB / 0.5661 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.345, allocations: 347.5 kB / 0.5665 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.3454, allocations: 0.704 MB / 0.5671 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3465, allocations: 1.71 MB / 0.5688 GB, free: 34.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3465, allocations: 2.75 kB / 0.5688 GB, free: 34.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3465, allocations: 0 / 0.5688 GB, free: 34.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3466, allocations: 2.5 kB / 0.5688 GB, free: 34.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007827/0.3544, allocations: 2.788 MB / 0.5715 GB, free: 33.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3544, allocations: 8.25 kB / 0.5716 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.3546, allocations: 123.5 kB / 0.5717 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.3591, allocations: 0.7805 MB / 0.5724 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3603, allocations: 0.9267 MB / 0.5733 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.3605, allocations: 261.2 kB / 0.5736 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3607, allocations: 86.16 kB / 0.5737 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.3625, allocations: 1.113 MB / 0.5748 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3625, allocations: 4.594 kB / 0.5748 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.3626, allocations: 30.31 kB / 0.5748 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3627, allocations: 18.38 kB / 0.5748 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3644, allocations: 1.003 MB / 0.5758 GB, free: 32.43 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.005348/0.3697, allocations: 3.918 MB / 0.5796 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.3766, allocations: 2.408 MB / 0.582 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3779, allocations: 0.6942 MB / 0.5826 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.378, allocations: 12.78 kB / 0.5827 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.3795, allocations: 0.8469 MB / 0.5835 GB, free: 28.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.916e-06/0.3796, allocations: 0 / 0.5835 GB, free: 28.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02679/0.4064, allocations: 7.074 MB / 0.5904 GB, free: 27.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4064, allocations: 122.2 kB / 0.5905 GB, free: 27.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4081, allocations: 1.138 MB / 0.5916 GB, free: 26.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.4083, allocations: 46.59 kB / 0.5917 GB, free: 26.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.4086, allocations: 0.4969 MB / 0.5921 GB, free: 26.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.4089, allocations: 370.7 kB / 0.5925 GB, free: 25.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/0.4095, allocations: 300.3 kB / 0.5928 GB, free: 25.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.4095, allocations: 302.7 kB / 0.5931 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.4111, allocations: 0.7966 MB / 0.5939 GB, free: 25.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4127, allocations: 0.9704 MB / 0.5948 GB, free: 24.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02439/0.4371, allocations: 5.943 MB / 0.6006 GB, free: 22.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4371, allocations: 1.219 kB / 0.6006 GB, free: 22.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01413/0.4513, allocations: 4.516 MB / 0.605 GB, free: 21.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.4514, allocations: 58.34 kB / 0.6051 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.4514, allocations: 4.406 kB / 0.6051 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.4573, allocations: 1.664 MB / 0.6067 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4588, allocations: 299.8 kB / 0.607 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.4762, allocations: 8.62 MB / 0.6154 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.4781, allocations: 214.5 kB / 0.6156 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4783, allocations: 55.98 kB / 0.6157 GB, free: 13.86 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005371/0.4788, allocations: 308.7 kB / 0.616 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.479, allocations: 131 kB / 0.6161 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.4899, allocations: 3.916 MB / 0.6199 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.49, allocations: 13 kB / 0.6199 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.49, allocations: 8 kB / 0.6199 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.49, allocations: 3.984 kB / 0.6199 GB, free: 9.461 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 postOpt removeSimpleEquations (simulation): time 0.01232/0.5023, allocations: 5.548 MB / 0.6253 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5023, allocations: 0.5156 kB / 0.6253 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.5029, allocations: 107.8 kB / 0.6255 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/0.5076, allocations: 1.592 MB / 0.627 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.5077, allocations: 28.48 kB / 0.627 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.5261, allocations: 9.639 MB / 0.6364 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5261, allocations: 0 / 0.6364 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.5397, allocations: 4.808 MB / 0.6411 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.5401, allocations: 235.1 kB / 0.6414 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.5403, allocations: 16 kB / 0.6414 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.5414, allocations: 109.7 kB / 0.6415 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/0.542, allocations: 204.7 kB / 0.6417 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.5421, allocations: 27.98 kB / 0.6417 GB, free: 2.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.5431, allocations: 0.7673 MB / 0.6425 GB, free: 1.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5431, allocations: 0 / 0.6425 GB, free: 1.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001268/0.5444, allocations: 487.6 kB / 0.6429 GB, free: 1.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.01377/0.5582, allocations: 5.391 MB / 0.6482 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006632/0.5648, allocations: 2.67 MB / 0.6508 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5648, allocations: 0 / 0.6508 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.5688, allocations: 1.616 MB / 0.6524 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/0.5698, allocations: 119.5 kB / 0.6525 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03831/0.6081, allocations: 17.98 MB / 0.67 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.6087, allocations: 1.132 MB / 0.6712 GB, free: 4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004682/0.6092, allocations: 119.9 kB / 0.6713 GB, free: 3.883 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.6098, allocations: 491.4 kB / 0.6717 GB, free: 3.402 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6098, allocations: 3.938 kB / 0.6717 GB, free: 3.398 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.776/6.385, allocations: 34.33 MB / 0.7053 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/6.386, allocations: 241.1 kB / 0.7055 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/9.39, allocations: 0 / 0.7055 GB, free: 1.246 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)