Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000951/0.0009511, allocations: 88.84 kB / 266.6 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.0604/0.0604, allocations: 14.03 MB / 328.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.359e-05, allocations: 4 kB / 389.2 MB, free: 66.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 51.12 MB / 440.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5775, allocations: 78.93 MB / 0.5071 GB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5778, allocations: 63.75 kB / 0.5072 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.5881, allocations: 3.635 MB / 0.5107 GB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5881, allocations: 0 / 0.5107 GB, free: 10.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5882, allocations: 7.906 kB / 0.5107 GB, free: 10.71 MB / 330.7 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.0009054/0.5891, allocations: 483.9 kB / 0.5112 GB, free: 10.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5891, allocations: 7.562 kB / 0.5112 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.5892, allocations: 57.11 kB / 0.5113 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.5893, allocations: 15.53 kB / 0.5113 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.5896, allocations: 231 kB / 0.5115 GB, free: 10 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.5896, allocations: 15.42 kB / 0.5115 GB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.5896, allocations: 16.44 kB / 0.5115 GB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.5901, allocations: 185.5 kB / 0.5117 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5901, allocations: 0 / 0.5117 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.5901, allocations: 7.531 kB / 0.5117 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5902, allocations: 11.12 kB / 0.5117 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.5905, allocations: 143.3 kB / 0.5119 GB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.5916, allocations: 0.68 MB / 0.5125 GB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.592, allocations: 134.8 kB / 0.5127 GB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5921, allocations: 80.95 kB / 0.5127 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.5922, allocations: 0 / 0.5127 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.5922, allocations: 42.39 kB / 0.5128 GB, free: 9.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.5922, allocations: 0 / 0.5128 GB, free: 9.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004637/0.5927, allocations: 194.6 kB / 0.513 GB, free: 9.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.5927, allocations: 51.41 kB / 0.513 GB, free: 9.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.593, allocations: 193.3 kB / 0.5132 GB, free: 9.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.593, allocations: 25.7 kB / 0.5132 GB, free: 9.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.5931, allocations: 124.9 kB / 0.5133 GB, free: 9.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.5931, allocations: 53.33 kB / 0.5134 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.5931, allocations: 3.188 kB / 0.5134 GB, free: 9.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.5932, allocations: 333 kB / 0.5137 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5934, allocations: 66.61 kB / 0.5138 GB, free: 8.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.5935, allocations: 70.78 kB / 0.5138 GB, free: 8.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.5937, allocations: 74.17 kB / 0.5139 GB, free: 8.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5937, allocations: 0 / 0.5139 GB, free: 8.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003731/0.5941, allocations: 198.2 kB / 0.5141 GB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5941, allocations: 3.812 kB / 0.5141 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5941, allocations: 7.984 kB / 0.5141 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5942, allocations: 0 / 0.5141 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5943, allocations: 15.53 kB / 0.5141 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5943, allocations: 4 kB / 0.5141 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.5944, allocations: 11.69 kB / 0.5141 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5945, allocations: 6.906 kB / 0.5141 GB, free: 8.629 MB / 330.7 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 () * 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 7.763e-05/0.5945, allocations: 108.4 kB / 0.5143 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.5946, allocations: 23.09 kB / 0.5143 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.5947, allocations: 23.77 kB / 0.5143 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5947, allocations: 0 / 0.5143 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5947, allocations: 0 / 0.5143 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5947, allocations: 3.984 kB / 0.5143 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.5951, allocations: 325.2 kB / 0.5146 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5951, allocations: 0 / 0.5146 GB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.5953, allocations: 11.66 kB / 0.5146 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5953, allocations: 3.812 kB / 0.5146 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5953, allocations: 3.375 kB / 0.5146 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5953, allocations: 0 / 0.5146 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5953, allocations: 0 / 0.5146 GB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.596, allocations: 408.8 kB / 0.515 GB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.596, allocations: 104.4 kB / 0.5151 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.5961, allocations: 7.562 kB / 0.5151 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5962, allocations: 0 / 0.5151 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5963, allocations: 7.891 kB / 0.5151 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.5963, allocations: 3.438 kB / 0.5151 GB, free: 7.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.5964, allocations: 157 kB / 0.5153 GB, free: 7.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5965, allocations: 0 / 0.5153 GB, free: 7.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.5968, allocations: 26.69 kB / 0.5153 GB, free: 7.879 MB / 330.7 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 () * 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.0008634/0.5977, allocations: 0.9532 MB / 0.5162 GB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.5981, allocations: 166.1 kB / 0.5164 GB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5981, allocations: 0 / 0.5164 GB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.5983, allocations: 86.11 kB / 0.5165 GB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5986, allocations: 27.97 kB / 0.5165 GB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.5996, allocations: 310.5 kB / 0.5168 GB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.5998, allocations: 0.7283 MB / 0.5175 GB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.5999, allocations: 21.2 kB / 0.5175 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.6, allocations: 50.23 kB / 0.5176 GB, free: 5.965 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6, allocations: 0 / 0.5176 GB, free: 5.965 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.6187, allocations: 3.691 MB / 0.5212 GB, free: 2.387 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.6189, allocations: 170.3 kB / 0.5214 GB, free: 2.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.589, allocations: 4 kB / 0.5214 GB, free: 2.152 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1)