Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.001185/0.001185, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.325/1.325, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001282/0.001282, allocations: 185 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4433/0.4433, allocations: 79.46 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 12 kB / 0.4891 GB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 69.51 MB / 0.557 GB, free: 37.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01449/0.3538, allocations: 19.62 MB / 0.5761 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.367, allocations: 5.245 MB / 0.5812 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007432/0.3745, allocations: 53.25 kB / 0.5813 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.3784, allocations: 0.6141 MB / 0.5819 GB, free: 25.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00864/0.3871, allocations: 2.022 MB / 0.5839 GB, free: 23.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.3926, allocations: 1.774 MB / 0.5856 GB, free: 23.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008881/0.4015, allocations: 3.777 MB / 0.5893 GB, free: 20.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.4036, allocations: 1.065 MB / 0.5903 GB, free: 20.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.4073, allocations: 2.037 MB / 0.5923 GB, free: 19.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.4122, allocations: 2.57 MB / 0.5948 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.4142, allocations: 238.7 kB / 0.5951 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.4166, allocations: 366.8 kB / 0.5954 GB, free: 18.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009004/0.4175, allocations: 0.9017 MB / 0.5963 GB, free: 17.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.4195, allocations: 0.8407 MB / 0.5971 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.4253, allocations: 4.454 MB / 0.6015 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4253, allocations: 5.094 kB / 0.6015 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4253, allocations: 0 / 0.6015 GB, free: 15.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000292/0.4256, allocations: 0 / 0.6015 GB, free: 15.83 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03354/0.4592, allocations: 8.554 MB / 0.6098 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/0.4593, allocations: 8.875 kB / 0.6098 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002833/0.4621, allocations: 499.2 kB / 0.6103 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/0.4907, allocations: 4.052 MB / 0.6143 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/0.4981, allocations: 2.532 MB / 0.6167 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/0.4993, allocations: 0.999 MB / 0.6177 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/0.5012, allocations: 347.3 kB / 0.618 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.5157, allocations: 4.957 MB / 0.6229 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.5158, allocations: 2.109 kB / 0.6229 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000554/0.5164, allocations: 145.4 kB / 0.623 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.63e-05/0.5165, allocations: 84.38 kB / 0.6231 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.5274, allocations: 4.498 MB / 0.6275 GB, free: 4.715 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.03828/0.5657, allocations: 19.09 MB / 0.6461 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.5796, allocations: 5.764 MB / 0.6518 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008035/0.5804, allocations: 66.84 kB / 0.6518 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007724/0.5881, allocations: 3.437 MB / 0.6552 GB, free: 7.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=385): time 5.77e-06/0.5882, allocations: 0 / 0.6552 GB, free: 7.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=385): time 0.3204/0.9086, allocations: 80.03 MB / 0.7333 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.9088, allocations: 145.8 kB / 0.7335 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.9136, allocations: 3.235 MB / 0.7366 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/0.9147, allocations: 97.64 kB / 0.7367 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.9161, allocations: 1.982 MB / 0.7387 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/0.918, allocations: 1.313 MB / 0.7399 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.9184, allocations: 84 kB / 0.74 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.9186, allocations: 469.1 kB / 0.7405 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/0.9247, allocations: 2.87 MB / 0.7433 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006916/0.9317, allocations: 3.479 MB / 0.7467 GB, free: 8.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00711/0.9388, allocations: 3.144 MB / 0.7497 GB, free: 5.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.9389, allocations: 4 kB / 0.7497 GB, free: 5.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06306/1.002, allocations: 20.88 MB / 0.7701 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/1.002, allocations: 63.41 kB / 0.7702 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.002, allocations: 16 kB / 0.7702 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.276/1.278, allocations: 8.705 MB / 0.7787 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/1.282, allocations: 0.6734 MB / 0.7794 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09808/1.38, allocations: 38.66 MB / 0.8171 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006992/1.387, allocations: 0.7553 MB / 0.8179 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.388, allocations: 165.7 kB / 0.818 GB, free: 147.7 MB / 0.5606 GB 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 order3.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (408): * Single equations (assignments): 404 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002408/1.39, allocations: 0.6677 MB / 0.8187 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.392, allocations: 459.3 kB / 0.8191 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05704/1.449, allocations: 20.66 MB / 0.8393 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/1.449, allocations: 36 kB / 0.8393 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/1.449, allocations: 28 kB / 0.8393 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.539e-05/1.449, allocations: 19.17 kB / 0.8394 GB, free: 137.2 MB / 0.5606 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.06438/1.513, allocations: 25.73 MB / 0.8645 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.513, allocations: 0 / 0.8645 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.516, allocations: 395.5 kB / 0.8649 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02565/1.542, allocations: 8.678 MB / 0.8733 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009468/1.543, allocations: 71.98 kB / 0.8734 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07685/1.619, allocations: 34.5 MB / 0.9071 GB, free: 70.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.619, allocations: 3.984 kB / 0.9071 GB, free: 70.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06396/1.683, allocations: 24.32 MB / 0.9309 GB, free: 46.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.685, allocations: 0.5726 MB / 0.9314 GB, free: 45.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.687, allocations: 64 kB / 0.9315 GB, free: 45.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/1.692, allocations: 0.5035 MB / 0.932 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003121/1.695, allocations: 0.7841 MB / 0.9327 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006083/1.696, allocations: 99.97 kB / 0.9328 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002903/1.699, allocations: 2.116 MB / 0.9349 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.699, allocations: 0 / 0.9349 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006931/1.706, allocations: 1.824 MB / 0.9367 GB, free: 40.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06423/1.77, allocations: 25.04 MB / 0.9611 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02687/1.797, allocations: 10.45 MB / 0.9713 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.797, allocations: 0 / 0.9713 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02066/1.818, allocations: 7.079 MB / 0.9783 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.821, allocations: 318.8 kB / 0.9786 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2417/2.063, allocations: 21.07 MB / 0.9991 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/2.065, allocations: 2.547 MB / 1.002 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001983/2.067, allocations: 384 kB / 1.002 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/2.069, allocations: 1.979 MB / 1.004 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/2.069, allocations: 2.812 kB / 1.004 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/2.24, allocations: 115.7 MB / 1.117 GB, free: 90 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/2.241, allocations: 216.1 kB / 1.117 GB, free: 89.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.758/7.999, allocations: 4 kB / 1.117 GB, free: 89.75 MB / 0.5762 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: