Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.001049/0.001049, allocations: 98.92 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.001102/0.001102, allocations: 177.3 kB / 15.95 MB, free: 216 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1964/0.1964, allocations: 14.17 MB / 305.2 MB, free: 1.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004459, allocations: 8 kB / 371.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3511, allocations: 53.92 MB / 425.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.002315/0.3535, allocations: 1.744 MB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.3543, allocations: 393.4 kB / 427.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3544, allocations: 7.781 kB / 427.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3546, allocations: 47.75 kB / 427.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.3548, allocations: 44.25 kB / 427.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3553, allocations: 197.8 kB / 428 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3556, allocations: 138.8 kB / 428.2 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3558, allocations: 111.2 kB / 428.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.3558, allocations: 62.45 kB / 428.3 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.356, allocations: 75.83 kB / 428.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.356, allocations: 8.812 kB / 428.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3561, allocations: 46.88 kB / 428.5 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.3561, allocations: 42.64 kB / 428.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.3562, allocations: 65.58 kB / 428.6 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.3565, allocations: 282 kB / 428.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3565, allocations: 0 / 428.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3565, allocations: 0 / 428.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3565, allocations: 0 / 428.8 MB, free: 38.28 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001783/0.3583, allocations: 0.7236 MB / 429.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3583, allocations: 10.94 kB / 429.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.3584, allocations: 69.09 kB / 429.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.3585, allocations: 31.72 kB / 429.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3586, allocations: 210.3 kB / 429.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3587, allocations: 18.34 kB / 429.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.3587, allocations: 26.59 kB / 429.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.3592, allocations: 371.9 kB / 430.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3593, allocations: 2 kB / 430.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.3593, allocations: 9.438 kB / 430.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3593, allocations: 14.14 kB / 430.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.3598, allocations: 380.2 kB / 430.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3612, allocations: 1.106 MB / 431.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.3616, allocations: 245.7 kB / 432 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3616, allocations: 10.02 kB / 432 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3617, allocations: 33.09 kB / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.3617, allocations: 0 / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001036/0.3627, allocations: 1.194 MB / 433.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3628, allocations: 58.59 kB / 433.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.363, allocations: 262.3 kB / 433.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.363, allocations: 29.52 kB / 433.6 MB, free: 36.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3632, allocations: 151.5 kB / 433.8 MB, free: 36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.3632, allocations: 97.59 kB / 433.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.3633, allocations: 6.156 kB / 433.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3634, allocations: 337.1 kB / 434.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3637, allocations: 162.1 kB / 434.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.364, allocations: 191.4 kB / 434.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.3642, allocations: 168.1 kB / 434.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3642, allocations: 3.406 kB / 434.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005992/0.3648, allocations: 426.7 kB / 435.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3649, allocations: 5.562 kB / 435.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3649, allocations: 0 / 435.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3649, allocations: 0 / 435.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3651, allocations: 34.53 kB / 435.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.3651, allocations: 0 / 435.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3653, allocations: 26.06 kB / 435.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3653, allocations: 6.281 kB / 435.2 MB, free: 35.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 0.0001549/0.3655, allocations: 160 kB / 435.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.3655, allocations: 27.14 kB / 435.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.3656, allocations: 36.08 kB / 435.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.3656, allocations: 6.656 kB / 435.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3656, allocations: 0 / 435.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3656, allocations: 6.125 kB / 435.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.3662, allocations: 0.5129 MB / 435.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3662, allocations: 0 / 435.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3663, allocations: 32.11 kB / 436 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3663, allocations: 4 kB / 436 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.3664, allocations: 14.05 kB / 436 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3664, allocations: 3.359 kB / 436 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3664, allocations: 0 / 436 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.367, allocations: 0.4923 MB / 436.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.367, allocations: 106 kB / 436.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3671, allocations: 7.031 kB / 436.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3672, allocations: 7.891 kB / 436.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3673, allocations: 23.89 kB / 436.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3673, allocations: 9.625 kB / 436.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3674, allocations: 190.8 kB / 436.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3675, allocations: 2.844 kB / 436.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3677, allocations: 46.69 kB / 436.9 MB, free: 34.07 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 (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0009624/0.3687, allocations: 1.051 MB / 437.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005994/0.3693, allocations: 377.8 kB / 438.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3693, allocations: 0 / 438.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.3696, allocations: 195.5 kB / 438.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.3698, allocations: 18.7 kB / 438.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3723, allocations: 1.984 MB / 440.5 MB, free: 31.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3725, allocations: 0.7687 MB / 441.2 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.3731, allocations: 498.2 kB / 441.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3733, allocations: 82.33 kB / 441.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3733, allocations: 4 kB / 441.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.389, allocations: 5.766 MB / 447.6 MB, free: 30.36 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.3892, allocations: 193.4 kB / 447.8 MB, free: 30.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.128, allocations: 6.328 kB / 447.8 MB, free: 30.12 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1)