Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.0008357/0.0008357, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.445/1.445, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001107/0.001107, allocations: 171.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5194/0.5194, allocations: 91.93 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005117, allocations: 16 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3871, allocations: 72.46 MB / 0.5756 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.00521/0.3923, allocations: 6.51 MB / 0.582 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.3961, allocations: 2.022 MB / 0.584 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.3968, allocations: 15.47 kB / 0.584 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.3975, allocations: 191.6 kB / 0.5842 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.3992, allocations: 0.7115 MB / 0.5849 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4003, allocations: 0.5942 MB / 0.5854 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.4015, allocations: 1.542 MB / 0.5869 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.4019, allocations: 298.3 kB / 0.5872 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.4026, allocations: 0.5803 MB / 0.5878 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/0.4033, allocations: 0.7793 MB / 0.5886 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.4035, allocations: 62.22 kB / 0.5886 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.4039, allocations: 188.9 kB / 0.5888 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.4042, allocations: 273.5 kB / 0.5891 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.4046, allocations: 0.6316 MB / 0.5897 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.4059, allocations: 1.6 MB / 0.5912 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4059, allocations: 4 kB / 0.5912 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4059, allocations: 0 / 0.5912 GB, free: 27.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.406, allocations: 1.25 kB / 0.5912 GB, free: 27.39 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008529/0.4145, allocations: 2.563 MB / 0.5937 GB, free: 26.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4146, allocations: 12.66 kB / 0.5938 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.4148, allocations: 128.2 kB / 0.5939 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.4198, allocations: 0.7867 MB / 0.5946 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.4214, allocations: 0.9117 MB / 0.5955 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.4216, allocations: 273.1 kB / 0.5958 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.4218, allocations: 82.88 kB / 0.5959 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4241, allocations: 1.164 MB / 0.597 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4241, allocations: 0 / 0.597 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.4242, allocations: 30.66 kB / 0.597 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.4242, allocations: 19.06 kB / 0.5971 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4264, allocations: 1.059 MB / 0.5981 GB, free: 24.34 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.006722/0.4331, allocations: 3.967 MB / 0.602 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008567/0.4417, allocations: 2.926 MB / 0.6048 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.4434, allocations: 0.747 MB / 0.6056 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.4435, allocations: 21.72 kB / 0.6056 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/0.4453, allocations: 0.8967 MB / 0.6065 GB, free: 20.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.895e-06/0.4454, allocations: 0 / 0.6065 GB, free: 20.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03484/0.4802, allocations: 8.832 MB / 0.6151 GB, free: 18.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.4803, allocations: 117.4 kB / 0.6152 GB, free: 18.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.4825, allocations: 1.13 MB / 0.6163 GB, free: 18.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002856/0.4828, allocations: 45.95 kB / 0.6163 GB, free: 18.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.4831, allocations: 0.496 MB / 0.6168 GB, free: 17.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.4834, allocations: 358.1 kB / 0.6172 GB, free: 17.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.4837, allocations: 150.5 kB / 0.6173 GB, free: 17.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.4837, allocations: 305.1 kB / 0.6176 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4855, allocations: 0.8382 MB / 0.6184 GB, free: 16.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.4873, allocations: 1.021 MB / 0.6194 GB, free: 16.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/0.5115, allocations: 6.231 MB / 0.6255 GB, free: 9.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5116, allocations: 4 kB / 0.6255 GB, free: 9.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01408/0.5257, allocations: 5.293 MB / 0.6307 GB, free: 4.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.5257, allocations: 63.41 kB / 0.6307 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.5258, allocations: 4 kB / 0.6307 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006189/0.532, allocations: 1.912 MB / 0.6326 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.5335, allocations: 291.5 kB / 0.6329 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.5543, allocations: 8.933 MB / 0.6416 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.5565, allocations: 238.7 kB / 0.6418 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.5567, allocations: 55.98 kB / 0.6419 GB, free: 8.945 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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.000679/0.5574, allocations: 312.2 kB / 0.6422 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.5576, allocations: 130.5 kB / 0.6423 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.5724, allocations: 4.752 MB / 0.647 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.5725, allocations: 12 kB / 0.647 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5725, allocations: 4 kB / 0.647 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.5725, allocations: 7.969 kB / 0.647 GB, free: 3.684 MB / 446.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.01764/0.5902, allocations: 6.356 MB / 0.6532 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.5903, allocations: 3.938 kB / 0.6532 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/0.5911, allocations: 107.8 kB / 0.6533 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006503/0.5976, allocations: 1.877 MB / 0.6551 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.5979, allocations: 20 kB / 0.6551 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/0.6202, allocations: 9.707 MB / 0.6646 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6203, allocations: 0 / 0.6646 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/0.6378, allocations: 5.694 MB / 0.6702 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.6386, allocations: 235.2 kB / 0.6704 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/0.639, allocations: 19.98 kB / 0.6704 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.6407, allocations: 143.9 kB / 0.6706 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007288/0.6415, allocations: 188.7 kB / 0.6707 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6416, allocations: 31.98 kB / 0.6708 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.6431, allocations: 0.7592 MB / 0.6715 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6431, allocations: 4 kB / 0.6715 GB, free: 10.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00209/0.6452, allocations: 479.5 kB / 0.672 GB, free: 9.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01826/0.6635, allocations: 6.273 MB / 0.6781 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008198/0.6717, allocations: 2.879 MB / 0.6809 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6718, allocations: 0 / 0.6809 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.6768, allocations: 1.801 MB / 0.6827 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6785, allocations: 119.5 kB / 0.6828 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05093/0.7295, allocations: 19.53 MB / 0.7019 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/0.7303, allocations: 1.132 MB / 0.703 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006998/0.7311, allocations: 120.1 kB / 0.7031 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/0.7319, allocations: 475.2 kB / 0.7035 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.7319, allocations: 0 / 0.7035 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8621/1.594, allocations: 31.95 MB / 0.7347 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/1.594, allocations: 243.1 kB / 0.735 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.804, allocations: 0 / 0.735 GB, free: 8.727 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)