Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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/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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) 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(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",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.001041/0.001041, 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/Complex 4.0.0+maint.om/package.mo): time 0.0009366/0.0009367, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2064/0.2064, allocations: 14.17 MB / 305.1 MB, free: 1.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 371.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3413, allocations: 53.9 MB / 425.6 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0009642/0.3423, allocations: 421.7 kB / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.3425, allocations: 24.98 kB / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.3426, allocations: 0.5312 kB / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.3426, allocations: 2.688 kB / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.3426, allocations: 0 / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3428, allocations: 12.61 kB / 426 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.3428, allocations: 6.297 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.3429, allocations: 3.156 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.343, allocations: 7.719 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.3431, allocations: 7.578 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3431, allocations: 0.9688 kB / 426.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.3431, allocations: 5.062 kB / 426.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3431, allocations: 3.734 kB / 426.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.3431, allocations: 29.2 kB / 426.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.264e-05/0.3432, allocations: 7.969 kB / 426.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.3432, allocations: 0.6562 kB / 426.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3432, allocations: 0 / 426.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3432, allocations: 1.719 kB / 426.1 MB, free: 39.49 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002655/0.3435, allocations: 347.5 kB / 426.5 MB, free: 39.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3436, allocations: 8.25 kB / 426.5 MB, free: 39.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.3436, allocations: 34.64 kB / 426.5 MB, free: 39.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3436, allocations: 9.438 kB / 426.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.614e-05/0.3437, allocations: 163.1 kB / 426.7 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3437, allocations: 0.7812 kB / 426.7 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3438, allocations: 5.906 kB / 426.7 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3439, allocations: 43.59 kB / 426.7 MB, free: 38.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3439, allocations: 3.938 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3439, allocations: 1.656 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.344, allocations: 4.703 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.344, allocations: 10.78 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.3445, allocations: 246.1 kB / 427 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.3446, allocations: 27.98 kB / 427 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.3446, allocations: 1.156 kB / 427 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3446, allocations: 39.12 kB / 427 MB, free: 38.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.3446, allocations: 2.953 kB / 427 MB, free: 38.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001945/0.3448, allocations: 86.84 kB / 427.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3448, allocations: 87.25 kB / 427.2 MB, free: 38.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.159e-05/0.3449, allocations: 89.86 kB / 427.3 MB, free: 38.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3449, allocations: 25.7 kB / 427.3 MB, free: 38.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3449, allocations: 89.5 kB / 427.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3449, allocations: 0 / 427.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.345, allocations: 0 / 427.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.345, allocations: 314.4 kB / 427.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.345, allocations: 9.547 kB / 427.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.3451, allocations: 7.625 kB / 427.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.3451, allocations: 42.14 kB / 427.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3451, allocations: 0 / 427.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.054e-05/0.3452, allocations: 81.08 kB / 427.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3452, allocations: 36.48 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3452, allocations: 2.906 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3453, allocations: 0.5 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.3453, allocations: 3.953 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3453, allocations: 0 / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.3454, allocations: 2.906 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3454, allocations: 7.562 kB / 427.9 MB, free: 37.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.3455, allocations: 141.8 kB / 428.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3455, allocations: 0 / 428.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.3455, allocations: 9.156 kB / 428.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3455, allocations: 0 / 428.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3455, allocations: 3.953 kB / 428.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3455, allocations: 0 / 428.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3456, allocations: 159 kB / 428.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3457, allocations: 2.188 kB / 428.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.3457, allocations: 11.41 kB / 428.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3457, allocations: 0 / 428.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.3457, allocations: 3.938 kB / 428.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3457, allocations: 0 / 428.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3457, allocations: 0 / 428.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.3458, allocations: 181.3 kB / 428.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.3458, allocations: 77.11 kB / 428.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3459, allocations: 5.188 kB / 428.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.3459, allocations: 4.031 kB / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.346, allocations: 6.391 kB / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.346, allocations: 0 / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.301e-05/0.346, allocations: 75.28 kB / 428.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.346, allocations: 3.562 kB / 428.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3462, allocations: 6.922 kB / 428.6 MB, free: 36.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/0.3465, allocations: 0.7201 MB / 429.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3467, allocations: 77.78 kB / 429.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3467, allocations: 0 / 429.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.3467, allocations: 64.75 kB / 429.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.3468, allocations: 0 / 429.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.3472, allocations: 139.4 kB / 429.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.3473, allocations: 0.6758 MB / 430.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.225e-05/0.3473, allocations: 0 / 430.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.3473, allocations: 10.16 kB / 430.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3473, allocations: 0 / 430.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009807/0.3571, allocations: 1.072 MB / 431.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.3573, allocations: 205.8 kB / 431.5 MB, free: 34.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.979, allocations: 0 / 431.5 MB, free: 34.96 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1)