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.005209/0.005209, allocations: 170.3 kB / 15.11 MB, free: 5.973 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.423/1.423, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007812/0.0007812, allocations: 86.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05121/0.05121, allocations: 14.2 MB / 332 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8.281 kB / 395.7 MB, free: 49.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08415, allocations: 51.12 MB / 446.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.1922, allocations: 79.02 MB / 0.5136 GB, free: 5.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.1925, allocations: 71.95 kB / 0.5136 GB, free: 5.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008847/0.2014, allocations: 3.683 MB / 0.5172 GB, free: 1.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2014, allocations: 0 / 0.5172 GB, free: 1.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.2014, allocations: 4 kB / 0.5172 GB, free: 1.809 MB / 362.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.0008862/0.2023, allocations: 0.5025 MB / 0.5177 GB, free: 1.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2024, allocations: 12.02 kB / 0.5177 GB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.2025, allocations: 46.55 kB / 0.5178 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.2025, allocations: 19.81 kB / 0.5178 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2028, allocations: 229.5 kB / 0.518 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2028, allocations: 11.95 kB / 0.518 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.2029, allocations: 20 kB / 0.518 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.2033, allocations: 190 kB / 0.5182 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2033, allocations: 0 / 0.5182 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.2033, allocations: 8 kB / 0.5182 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2033, allocations: 8 kB / 0.5182 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.2036, allocations: 151.9 kB / 0.5184 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1933/0.3969, allocations: 0.6655 MB / 0.519 GB, free: 81.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.3973, allocations: 140.1 kB / 0.5192 GB, free: 81.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.3973, allocations: 1.391 kB / 0.5192 GB, free: 81.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3973, allocations: 38.42 kB / 0.5192 GB, free: 81.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.3974, allocations: 0 / 0.5192 GB, free: 81.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005607/0.3979, allocations: 0.5746 MB / 0.5198 GB, free: 81.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.398, allocations: 60.09 kB / 0.5198 GB, free: 81.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3981, allocations: 195.7 kB / 0.52 GB, free: 80.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3981, allocations: 26.52 kB / 0.52 GB, free: 80.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3982, allocations: 123.8 kB / 0.5202 GB, free: 80.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3982, allocations: 46.98 kB / 0.5202 GB, free: 80.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.3983, allocations: 6.562 kB / 0.5202 GB, free: 80.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.188e-05/0.3983, allocations: 329.5 kB / 0.5205 GB, free: 80.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3985, allocations: 67.88 kB / 0.5206 GB, free: 80.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.684e-05/0.3986, allocations: 68.23 kB / 0.5207 GB, free: 80.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3987, allocations: 73.72 kB / 0.5207 GB, free: 80.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3987, allocations: 4.531 kB / 0.5207 GB, free: 80.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002755/0.399, allocations: 201 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.399, allocations: 5.125 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.399, allocations: 1.031 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.399, allocations: 5.875 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3992, allocations: 11.22 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3992, allocations: 4.703 kB / 0.5209 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.3992, allocations: 15.81 kB / 0.521 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3993, allocations: 9.203 kB / 0.521 GB, free: 80.46 MB / 362.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 () * 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.978e-05/0.3994, allocations: 131.7 kB / 0.5211 GB, free: 80.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3994, allocations: 19.92 kB / 0.5211 GB, free: 80.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.3995, allocations: 28.2 kB / 0.5211 GB, free: 80.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3995, allocations: 1.594 kB / 0.5211 GB, free: 80.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3995, allocations: 0 / 0.5211 GB, free: 80.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3995, allocations: 2.25 kB / 0.5211 GB, free: 80.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3998, allocations: 313.9 kB / 0.5214 GB, free: 80.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3998, allocations: 0 / 0.5214 GB, free: 80.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3999, allocations: 15.83 kB / 0.5215 GB, free: 80.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3999, allocations: 3.953 kB / 0.5215 GB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3999, allocations: 8.016 kB / 0.5215 GB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3999, allocations: 3.719 kB / 0.5215 GB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3999, allocations: 1.781 kB / 0.5215 GB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.4004, allocations: 402.9 kB / 0.5219 GB, free: 79.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.4005, allocations: 95.16 kB / 0.5219 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4005, allocations: 8.594 kB / 0.522 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.4006, allocations: 4.312 kB / 0.522 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.4006, allocations: 10.28 kB / 0.522 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.4006, allocations: 0.75 kB / 0.522 GB, free: 79.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4008, allocations: 171.3 kB / 0.5221 GB, free: 79.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4008, allocations: 0 / 0.5221 GB, free: 79.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00026/0.401, allocations: 27.52 kB / 0.5222 GB, free: 79.8 MB / 362.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 () * 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.0006776/0.4017, allocations: 0.9396 MB / 0.5231 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.402, allocations: 162.3 kB / 0.5232 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.402, allocations: 0 / 0.5232 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4021, allocations: 83.55 kB / 0.5233 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.4024, allocations: 26.23 kB / 0.5233 GB, free: 79.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4039, allocations: 1.185 MB / 0.5245 GB, free: 78.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.4041, allocations: 0.7323 MB / 0.5252 GB, free: 77.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.4041, allocations: 12.19 kB / 0.5252 GB, free: 77.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.4042, allocations: 50.72 kB / 0.5253 GB, free: 77.94 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4042, allocations: 0 / 0.5253 GB, free: 77.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.4196, allocations: 3.792 MB / 0.529 GB, free: 77.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.4198, allocations: 190.6 kB / 0.5292 GB, free: 77.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.974, allocations: 0 / 0.5292 GB, free: 77.36 MB / 362.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)