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.000827/0.0008271, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008748/0.000875, allocations: 168.7 kB / 15.95 MB, free: 204 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.474/1.474, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2627/0.2627, allocations: 14.18 MB / 305.3 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003448, allocations: 12 kB / 371.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3934, allocations: 53.91 MB / 425.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.002227/0.3957, allocations: 1.748 MB / 427.5 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.3967, allocations: 388.5 kB / 427.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3968, allocations: 6.812 kB / 427.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.397, allocations: 55.61 kB / 427.9 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3972, allocations: 35.28 kB / 427.9 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.3977, allocations: 210.5 kB / 428.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.398, allocations: 198.2 kB / 428.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.3983, allocations: 117.9 kB / 428.4 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.3983, allocations: 55.33 kB / 428.5 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3984, allocations: 81.72 kB / 428.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3985, allocations: 6.812 kB / 428.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3986, allocations: 57.23 kB / 428.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.3986, allocations: 30.31 kB / 428.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.3987, allocations: 70.86 kB / 428.7 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.399, allocations: 292.2 kB / 429 MB, free: 38.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.399, allocations: 0.7188 kB / 429 MB, free: 38.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.399, allocations: 0 / 429 MB, free: 38.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.399, allocations: 0.625 kB / 429 MB, free: 38.51 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.001686/0.4007, allocations: 0.7279 MB / 429.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4008, allocations: 10.03 kB / 429.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.4009, allocations: 61.22 kB / 429.8 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.4009, allocations: 36 kB / 429.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4011, allocations: 211.3 kB / 430.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.4011, allocations: 21.69 kB / 430.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.4011, allocations: 24.78 kB / 430.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.4017, allocations: 364.2 kB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4017, allocations: 0.7969 kB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4017, allocations: 11.84 kB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4017, allocations: 13.61 kB / 430.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.4023, allocations: 383.5 kB / 430.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.4038, allocations: 1.103 MB / 432 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.4041, allocations: 238 kB / 432.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.4044, allocations: 186.9 kB / 432.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4045, allocations: 13.91 kB / 432.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.4045, allocations: 32.44 kB / 432.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.4045, allocations: 3.938 kB / 432.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.000881/0.4054, allocations: 0.5632 MB / 433 MB, free: 37.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.4054, allocations: 51.59 kB / 433.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4057, allocations: 261.2 kB / 433.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4057, allocations: 25.7 kB / 433.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.4058, allocations: 156.3 kB / 433.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.4059, allocations: 103.9 kB / 433.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.4059, allocations: 0 / 433.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.406, allocations: 335.3 kB / 433.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4062, allocations: 160.6 kB / 434.1 MB, free: 36.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4064, allocations: 190.4 kB / 434.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4066, allocations: 174.7 kB / 434.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4066, allocations: 0 / 434.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005316/0.4072, allocations: 418.8 kB / 434.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4072, allocations: 11 kB / 434.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4072, allocations: 3.938 kB / 434.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4072, allocations: 0 / 434.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4074, allocations: 30.09 kB / 434.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4075, allocations: 4.578 kB / 434.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.4076, allocations: 21.88 kB / 434.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4076, allocations: 15.7 kB / 434.9 MB, free: 35.8 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.000133/0.4077, allocations: 151.2 kB / 435.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.4078, allocations: 25.16 kB / 435.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.4079, allocations: 37.36 kB / 435.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4079, allocations: 7.094 kB / 435.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4079, allocations: 0 / 435.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4079, allocations: 10.3 kB / 435.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.4085, allocations: 0.518 MB / 435.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4085, allocations: 0.6562 kB / 435.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.4086, allocations: 27.06 kB / 435.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4086, allocations: 2.844 kB / 435.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4087, allocations: 7.281 kB / 435.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4087, allocations: 2.812 kB / 435.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4087, allocations: 4 kB / 435.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.4092, allocations: 0.506 MB / 436.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.4093, allocations: 109.3 kB / 436.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.4093, allocations: 6.719 kB / 436.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4095, allocations: 0 / 436.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4095, allocations: 18.67 kB / 436.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.4095, allocations: 9.625 kB / 436.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4097, allocations: 191.6 kB / 436.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 2.906 kB / 436.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.41, allocations: 46.44 kB / 436.6 MB, free: 34.66 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.0007524/0.4108, allocations: 1.065 MB / 437.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.4113, allocations: 376.8 kB / 438 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4113, allocations: 0 / 438 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4115, allocations: 198 kB / 438.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.4118, allocations: 14 kB / 438.2 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4141, allocations: 1.832 MB / 440.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4143, allocations: 0.7639 MB / 440.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.4148, allocations: 0.4922 MB / 441.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4149, allocations: 82.91 kB / 441.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4149, allocations: 0 / 441.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.4309, allocations: 5.813 MB / 447.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.4311, allocations: 192.3 kB / 447.4 MB, free: 30.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.178, allocations: 4 kB / 447.4 MB, free: 30.85 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)