Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",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.001235/0.001235, allocations: 100.4 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.001292/0.001292, 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1775/0.1775, allocations: 14.17 MB / 305.2 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 8 kB / 371.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.369, allocations: 53.91 MB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002068/0.3712, allocations: 1.586 MB / 427.2 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.3719, allocations: 317.8 kB / 427.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.372, allocations: 5.75 kB / 427.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.3723, allocations: 42.02 kB / 427.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.3725, allocations: 30.3 kB / 427.6 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.373, allocations: 173.2 kB / 427.7 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.3733, allocations: 98.11 kB / 427.8 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.3735, allocations: 64.91 kB / 427.9 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.3736, allocations: 37.08 kB / 427.9 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3737, allocations: 56.75 kB / 428 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3737, allocations: 5.75 kB / 428 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3739, allocations: 48.97 kB / 428 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.3739, allocations: 15.19 kB / 428.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.374, allocations: 56.08 kB / 428.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3742, allocations: 180.5 kB / 428.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3743, allocations: 0 / 428.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3743, allocations: 4.219 kB / 428.3 MB, free: 38.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3743, allocations: 0 / 428.3 MB, free: 38.65 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001242/0.3755, allocations: 0.5168 MB / 428.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.3756, allocations: 9.312 kB / 428.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.3757, allocations: 57.62 kB / 428.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3757, allocations: 23.09 kB / 428.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.376, allocations: 224.7 kB / 429.1 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.376, allocations: 15.8 kB / 429.1 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.376, allocations: 15.19 kB / 429.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.3764, allocations: 187 kB / 429.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3764, allocations: 0 / 429.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3764, allocations: 11.14 kB / 429.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3765, allocations: 6.828 kB / 429.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3767, allocations: 149.8 kB / 429.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008065/0.3775, allocations: 0.6649 MB / 430.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3777, allocations: 135.2 kB / 430.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3778, allocations: 3.953 kB / 430.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.3778, allocations: 34.5 kB / 430.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3778, allocations: 6.844 kB / 430.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005363/0.3784, allocations: 0.5668 MB / 430.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.3784, allocations: 53.97 kB / 431 MB, free: 37.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3786, allocations: 222.4 kB / 431.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3786, allocations: 28.58 kB / 431.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3787, allocations: 120.5 kB / 431.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3787, allocations: 49.41 kB / 431.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.3787, allocations: 4.516 kB / 431.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.3788, allocations: 336.6 kB / 431.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3789, allocations: 63.11 kB / 431.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.379, allocations: 66.61 kB / 431.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3792, allocations: 69.64 kB / 431.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3792, allocations: 3.938 kB / 431.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002862/0.3795, allocations: 209.2 kB / 432.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3795, allocations: 3.344 kB / 432.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3795, allocations: 2.594 kB / 432.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3795, allocations: 0 / 432.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3796, allocations: 16.08 kB / 432.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3797, allocations: 6.656 kB / 432.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.3797, allocations: 16.22 kB / 432.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3797, allocations: 3.281 kB / 432.2 MB, free: 36.44 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 8.709e-05/0.3798, allocations: 130.4 kB / 432.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.3799, allocations: 24.8 kB / 432.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.3799, allocations: 27.25 kB / 432.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3799, allocations: 0.875 kB / 432.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.38, allocations: 0 / 432.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.38, allocations: 3.375 kB / 432.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.3802, allocations: 318.9 kB / 432.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3802, allocations: 0 / 432.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.3803, allocations: 8.719 kB / 432.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3803, allocations: 6.188 kB / 432.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3804, allocations: 12.67 kB / 432.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3804, allocations: 3.672 kB / 432.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3804, allocations: 2.594 kB / 432.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.3808, allocations: 400 kB / 433.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3808, allocations: 102.1 kB / 433.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3809, allocations: 0 / 433.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.381, allocations: 6.078 kB / 433.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.381, allocations: 9.406 kB / 433.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.381, allocations: 9.203 kB / 433.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3811, allocations: 156.1 kB / 433.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3811, allocations: 0 / 433.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3814, allocations: 25.09 kB / 433.4 MB, free: 35.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006412/0.382, allocations: 0.94 MB / 434.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3823, allocations: 166.5 kB / 434.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3824, allocations: 0 / 434.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3825, allocations: 89.39 kB / 434.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3828, allocations: 26.62 kB / 434.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3844, allocations: 1.168 MB / 435.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3845, allocations: 0.7308 MB / 436.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.3846, allocations: 14.36 kB / 436.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.3847, allocations: 51.78 kB / 436.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3847, allocations: 0 / 436.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.3992, allocations: 3.888 MB / 440.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.3994, allocations: 194.3 kB / 440.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.151, allocations: 3.375 kB / 440.6 MB, free: 33.02 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_dev_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1)