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.001326/0.001326, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.000801/0.0008011, allocations: 89.27 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05814/0.05814, allocations: 14.04 MB / 323.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.42e-05, allocations: 4 kB / 382 MB, free: 72.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 51.13 MB / 433.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.6034, allocations: 78.26 MB / 0.4994 GB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6037, allocations: 70.89 kB / 0.4994 GB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008208/0.6119, allocations: 3.595 MB / 0.5029 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6119, allocations: 0 / 0.5029 GB, free: 11.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.612, allocations: 3.844 kB / 0.5029 GB, free: 11.8 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.0007861/0.6128, allocations: 489.9 kB / 0.5034 GB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6128, allocations: 7.844 kB / 0.5034 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.6129, allocations: 19.34 kB / 0.5034 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.6132, allocations: 226.1 kB / 0.5037 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.6132, allocations: 11.69 kB / 0.5037 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.6132, allocations: 16.03 kB / 0.5037 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002645/0.6135, allocations: 134.9 kB / 0.5038 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.6138, allocations: 167.3 kB / 0.504 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6138, allocations: 0 / 0.504 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.6139, allocations: 0 / 0.504 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.6139, allocations: 11.22 kB / 0.504 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.6149, allocations: 0.6088 MB / 0.5046 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6152, allocations: 136.7 kB / 0.5047 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.6153, allocations: 78.5 kB / 0.5048 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6153, allocations: 0 / 0.5048 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6154, allocations: 34.5 kB / 0.5048 GB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.6154, allocations: 0 / 0.5048 GB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004029/0.6158, allocations: 184.5 kB / 0.505 GB, free: 10.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6158, allocations: 51.41 kB / 0.505 GB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.616, allocations: 141.6 kB / 0.5052 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.616, allocations: 25.7 kB / 0.5052 GB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.6161, allocations: 131.2 kB / 0.5053 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6161, allocations: 46.2 kB / 0.5054 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.6162, allocations: 0 / 0.5054 GB, free: 10.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.6162, allocations: 332.1 kB / 0.5057 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.6163, allocations: 60.06 kB / 0.5057 GB, free: 10.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.6164, allocations: 65.45 kB / 0.5058 GB, free: 10.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6165, allocations: 75.23 kB / 0.5059 GB, free: 10.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6165, allocations: 4 kB / 0.5059 GB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002564/0.6168, allocations: 185.7 kB / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6168, allocations: 3.781 kB / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6168, allocations: 3.906 kB / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6169, allocations: 0 / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.617, allocations: 14.95 kB / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.617, allocations: 0 / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.6171, allocations: 7.844 kB / 0.5061 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6171, allocations: 3.938 kB / 0.5061 GB, free: 10.05 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.8e-05/0.6172, allocations: 116.7 kB / 0.5062 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002455/0.6174, allocations: 183.6 kB / 0.5064 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.6175, allocations: 14.67 kB / 0.5064 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.6175, allocations: 14.69 kB / 0.5064 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6175, allocations: 2.812 kB / 0.5064 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6175, allocations: 6.438 kB / 0.5064 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6175, allocations: 3.906 kB / 0.5064 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.6178, allocations: 281.5 kB / 0.5067 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6178, allocations: 0 / 0.5067 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.6179, allocations: 7.812 kB / 0.5067 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6179, allocations: 3.938 kB / 0.5067 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.618, allocations: 11.77 kB / 0.5067 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.618, allocations: 0 / 0.5067 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.618, allocations: 0 / 0.5067 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.6184, allocations: 390.4 kB / 0.5071 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.6185, allocations: 92.83 kB / 0.5072 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.6185, allocations: 0 / 0.5072 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.6186, allocations: 0 / 0.5072 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.6186, allocations: 7.922 kB / 0.5072 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.6186, allocations: 11.66 kB / 0.5072 GB, free: 9.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.6187, allocations: 103.4 kB / 0.5073 GB, free: 9.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6187, allocations: 0 / 0.5073 GB, free: 9.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.6189, allocations: 30.69 kB / 0.5073 GB, free: 9.305 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.0006209/0.6196, allocations: 0.9318 MB / 0.5082 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.6198, allocations: 154.2 kB / 0.5084 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6198, allocations: 0 / 0.5084 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.6199, allocations: 81.97 kB / 0.5085 GB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.6202, allocations: 11.45 kB / 0.5085 GB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.6209, allocations: 299.8 kB / 0.5087 GB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.6211, allocations: 0.7336 MB / 0.5095 GB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.6211, allocations: 8.141 kB / 0.5095 GB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.6212, allocations: 47.52 kB / 0.5095 GB, free: 7.672 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6212, allocations: 0 / 0.5095 GB, free: 7.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.6453, allocations: 2.636 MB / 0.5121 GB, free: 6.414 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.6456, allocations: 140.9 kB / 0.5122 GB, free: 6.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.437, allocations: 0 / 0.5122 GB, free: 6.227 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)