Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.000926/0.0009308, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.336/1.336, allocations: 223.2 MB / 239 MB, free: 5.605 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.001042/0.001042, allocations: 191.6 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4767/0.4767, allocations: 79.47 MB / 420.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 11.98 kB / 0.4892 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3398, allocations: 69.51 MB / 0.5571 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005621/0.3455, allocations: 6.006 MB / 0.563 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.3494, allocations: 1.908 MB / 0.5648 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3507, allocations: 12.62 kB / 0.5648 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.3517, allocations: 175.4 kB / 0.565 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.354, allocations: 0.6613 MB / 0.5656 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3552, allocations: 0.5185 MB / 0.5662 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3566, allocations: 1.412 MB / 0.5675 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.357, allocations: 268.9 kB / 0.5678 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.3575, allocations: 0.5532 MB / 0.5683 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.3581, allocations: 0.7309 MB / 0.569 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3582, allocations: 59.06 kB / 0.5691 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3586, allocations: 174.8 kB / 0.5693 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3589, allocations: 254 kB / 0.5695 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.3591, allocations: 233.9 kB / 0.5697 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.36, allocations: 1.227 MB / 0.5709 GB, free: 35.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.36, allocations: 0 / 0.5709 GB, free: 35.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.36, allocations: 0 / 0.5709 GB, free: 35.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3601, allocations: 2.75 kB / 0.5709 GB, free: 35.53 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006831/0.3669, allocations: 2.505 MB / 0.5734 GB, free: 34.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.367, allocations: 11.75 kB / 0.5734 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.3672, allocations: 125.4 kB / 0.5735 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/0.3719, allocations: 0.7902 MB / 0.5743 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.3736, allocations: 0.8407 MB / 0.5751 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.3739, allocations: 269 kB / 0.5754 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.374, allocations: 88.69 kB / 0.5754 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.3761, allocations: 1.138 MB / 0.5766 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3762, allocations: 3.469 kB / 0.5766 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.3762, allocations: 32.34 kB / 0.5766 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3763, allocations: 24.55 kB / 0.5766 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.378, allocations: 1.042 MB / 0.5776 GB, free: 32.62 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.005603/0.3836, allocations: 3.925 MB / 0.5815 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/0.3903, allocations: 2.915 MB / 0.5843 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3917, allocations: 0.7344 MB / 0.585 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3918, allocations: 18.44 kB / 0.585 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/0.3933, allocations: 0.8727 MB / 0.5859 GB, free: 28.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.186e-06/0.3933, allocations: 0 / 0.5859 GB, free: 28.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02688/0.4202, allocations: 8.643 MB / 0.5943 GB, free: 27.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4203, allocations: 113.9 kB / 0.5944 GB, free: 27.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.422, allocations: 1.07 MB / 0.5955 GB, free: 26.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.4222, allocations: 46.23 kB / 0.5955 GB, free: 26.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.4226, allocations: 490.8 kB / 0.596 GB, free: 26.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.4229, allocations: 360.9 kB / 0.5963 GB, free: 26.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.423, allocations: 33.97 kB / 0.5964 GB, free: 26.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4232, allocations: 370 kB / 0.5967 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4248, allocations: 0.8174 MB / 0.5975 GB, free: 25.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.4265, allocations: 0.9951 MB / 0.5985 GB, free: 24.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.4282, allocations: 0.9508 MB / 0.5994 GB, free: 24.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4282, allocations: 1 kB / 0.5994 GB, free: 24.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01388/0.4421, allocations: 5.161 MB / 0.6045 GB, free: 23.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.4422, allocations: 58.5 kB / 0.6045 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.4422, allocations: 5.156 kB / 0.6045 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00613/0.4483, allocations: 1.896 MB / 0.6064 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.4499, allocations: 303.9 kB / 0.6067 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.4691, allocations: 9.014 MB / 0.6155 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.4712, allocations: 235.5 kB / 0.6157 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4713, allocations: 60.14 kB / 0.6158 GB, free: 16.42 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006016/0.4719, allocations: 305.5 kB / 0.6161 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4721, allocations: 126.4 kB / 0.6162 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.4832, allocations: 4.714 MB / 0.6208 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4833, allocations: 12 kB / 0.6208 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4833, allocations: 7.953 kB / 0.6208 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.4833, allocations: 7.984 kB / 0.6208 GB, free: 11.22 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.01327/0.4966, allocations: 6.297 MB / 0.627 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.4966, allocations: 0 / 0.627 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.4972, allocations: 100.7 kB / 0.627 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004781/0.502, allocations: 1.881 MB / 0.6289 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5021, allocations: 19.98 kB / 0.6289 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.5201, allocations: 9.664 MB / 0.6383 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5202, allocations: 0 / 0.6383 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5345, allocations: 5.639 MB / 0.6438 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.5351, allocations: 232 kB / 0.6441 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.5355, allocations: 20.88 kB / 0.6441 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.5368, allocations: 145.3 kB / 0.6442 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006274/0.5374, allocations: 192.6 kB / 0.6444 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.5376, allocations: 35.92 kB / 0.6444 GB, free: 2.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.5389, allocations: 0.7235 MB / 0.6452 GB, free: 1.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5389, allocations: 0 / 0.6452 GB, free: 1.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002079/0.541, allocations: 471.6 kB / 0.6456 GB, free: 1.367 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01488/0.5559, allocations: 6.216 MB / 0.6517 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006578/0.5625, allocations: 2.779 MB / 0.6544 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5626, allocations: 0.75 kB / 0.6544 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/0.5667, allocations: 1.802 MB / 0.6561 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5682, allocations: 114.1 kB / 0.6563 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.5936, allocations: 12.03 MB / 0.668 GB, free: 9.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.5945, allocations: 1.116 MB / 0.6691 GB, free: 8.852 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005591/0.5951, allocations: 121.1 kB / 0.6692 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.5958, allocations: 471.2 kB / 0.6697 GB, free: 8.273 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5958, allocations: 0 / 0.6697 GB, free: 8.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/0.6487, allocations: 31.97 MB / 0.7009 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.649, allocations: 223.6 kB / 0.7011 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.304, allocations: 0 / 0.7011 GB, free: 8.469 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: