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.0008062/0.0008057, allocations: 86.64 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.0008572/0.0008575, 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.523/1.523, allocations: 223.2 MB / 240 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.2589/0.2589, allocations: 14.18 MB / 305.3 MB, free: 1.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005094, allocations: 8 kB / 371.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4158, allocations: 53.92 MB / 425.7 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.001966/0.4179, allocations: 1.586 MB / 427.3 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005451/0.4184, allocations: 315.5 kB / 427.6 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.4185, allocations: 7.719 kB / 427.6 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.4187, allocations: 44.31 kB / 427.7 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.4188, allocations: 28.62 kB / 427.7 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.4192, allocations: 172 kB / 427.9 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.4195, allocations: 131.9 kB / 428 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4196, allocations: 69.48 kB / 428.1 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.4197, allocations: 36.55 kB / 428.1 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.4197, allocations: 56.67 kB / 428.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4198, allocations: 6 kB / 428.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.4199, allocations: 46.2 kB / 428.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.4199, allocations: 19.59 kB / 428.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.4199, allocations: 54.08 kB / 428.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.4201, allocations: 182.3 kB / 428.5 MB, free: 38.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4201, allocations: 1.344 kB / 428.5 MB, free: 38.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4201, allocations: 0 / 428.5 MB, free: 38.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4201, allocations: 4.656 kB / 428.5 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.0009189/0.4211, allocations: 0.5282 MB / 429 MB, free: 38.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4211, allocations: 9.5 kB / 429 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.4212, allocations: 48.98 kB / 429 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.4212, allocations: 23.41 kB / 429.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.4214, allocations: 233 kB / 429.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4214, allocations: 9.156 kB / 429.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.4215, allocations: 15 kB / 429.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.4218, allocations: 187.4 kB / 429.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4218, allocations: 3.938 kB / 429.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4218, allocations: 10.39 kB / 429.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4218, allocations: 10.11 kB / 429.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.4221, allocations: 156.2 kB / 429.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.4228, allocations: 0.6521 MB / 430.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.4231, allocations: 135 kB / 430.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4232, allocations: 80.59 kB / 430.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.4232, allocations: 8.844 kB / 430.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4233, allocations: 37.36 kB / 430.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4233, allocations: 0 / 430.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004725/0.4237, allocations: 256.2 kB / 430.8 MB, free: 37.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4238, allocations: 54.19 kB / 430.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.424, allocations: 222.1 kB / 431.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.424, allocations: 30.8 kB / 431.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.4241, allocations: 119.7 kB / 431.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.4242, allocations: 53.84 kB / 431.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4242, allocations: 1.125 kB / 431.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4243, allocations: 325.5 kB / 431.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.4244, allocations: 65.53 kB / 431.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.4245, allocations: 66.61 kB / 431.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4247, allocations: 68.61 kB / 431.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4247, allocations: 2.875 kB / 431.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002772/0.425, allocations: 196.8 kB / 432 MB, free: 36.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.425, allocations: 9.078 kB / 432 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.425, allocations: 4.938 kB / 432 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.425, allocations: 0 / 432 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4251, allocations: 24.77 kB / 432.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4252, allocations: 2.5 kB / 432.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.4252, allocations: 10.34 kB / 432.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4252, allocations: 2.656 kB / 432.1 MB, free: 36.8 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 0.000102/0.4253, allocations: 131.5 kB / 432.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.4254, allocations: 22.78 kB / 432.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.4254, allocations: 24 kB / 432.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4255, allocations: 9.859 kB / 432.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4255, allocations: 3.406 kB / 432.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4255, allocations: 0 / 432.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4258, allocations: 312.6 kB / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4258, allocations: 0 / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.4259, allocations: 10.3 kB / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4259, allocations: 3.906 kB / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4259, allocations: 5.562 kB / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4259, allocations: 3.953 kB / 432.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4259, allocations: 7.875 kB / 432.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.4264, allocations: 402.1 kB / 433 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.4265, allocations: 97.83 kB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4265, allocations: 6.281 kB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.4266, allocations: 7.312 kB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.4266, allocations: 6.766 kB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4267, allocations: 9.125 kB / 433.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4268, allocations: 160.1 kB / 433.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4268, allocations: 64 / 433.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.427, allocations: 30.38 kB / 433.3 MB, free: 36.13 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.0007646/0.4278, allocations: 0.9296 MB / 434.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.4282, allocations: 162.9 kB / 434.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4282, allocations: 0 / 434.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4283, allocations: 84.58 kB / 434.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4287, allocations: 25.55 kB / 434.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.4304, allocations: 1.188 MB / 435.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.4306, allocations: 0.7215 MB / 436.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.4307, allocations: 18.33 kB / 436.4 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.4308, allocations: 48.88 kB / 436.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4308, allocations: 0 / 436.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.4477, allocations: 3.914 MB / 440.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.448, allocations: 198.3 kB / 440.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.192, allocations: 0 / 440.6 MB, free: 33.34 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)