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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005166/0.005167, allocations: 186 kB / 7.458 MB, free: 2.516 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.625/1.625, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.001033/0.001033, allocations: 99.73 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06218/0.06218, allocations: 14.04 MB / 323 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2682/0.3304, allocations: 58.35 MB / 381.4 MB, free: 73.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.4586, allocations: 51.12 MB / 432.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.8582, allocations: 78.19 MB / 0.4987 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.8585, allocations: 70.94 kB / 0.4988 GB, free: 11.91 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.009444/0.868, allocations: 3.748 MB / 0.5025 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.868, allocations: 9.781 kB / 0.5025 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.8681, allocations: 22.41 kB / 0.5025 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.8684, allocations: 235.8 kB / 0.5027 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.8684, allocations: 5.312 kB / 0.5027 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.8684, allocations: 9.125 kB / 0.5027 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002798/0.8687, allocations: 143.4 kB / 0.5029 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.869, allocations: 163.3 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.869, allocations: 0 / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.8691, allocations: 1.531 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.8691, allocations: 5.578 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.87, allocations: 0.6114 MB / 0.5036 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.8702, allocations: 132.8 kB / 0.5038 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.8703, allocations: 78.7 kB / 0.5038 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.8703, allocations: 4 kB / 0.5038 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8704, allocations: 41.91 kB / 0.5039 GB, free: 10.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8704, allocations: 3.938 kB / 0.5039 GB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000473/0.8709, allocations: 179.7 kB / 0.5041 GB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.8709, allocations: 52.5 kB / 0.5041 GB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.871, allocations: 133.3 kB / 0.5042 GB, free: 10.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.8711, allocations: 27.02 kB / 0.5043 GB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.8711, allocations: 124.5 kB / 0.5044 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.8712, allocations: 49.92 kB / 0.5044 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.8712, allocations: 0 / 0.5044 GB, free: 10.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8713, allocations: 326.1 kB / 0.5047 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.8715, allocations: 62.56 kB / 0.5048 GB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.8716, allocations: 64.53 kB / 0.5049 GB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8718, allocations: 67.58 kB / 0.5049 GB, free: 10.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8718, allocations: 0 / 0.5049 GB, free: 10.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003359/0.8721, allocations: 191.8 kB / 0.5051 GB, free: 9.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8722, allocations: 9.578 kB / 0.5051 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8722, allocations: 4.844 kB / 0.5051 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8722, allocations: 0.625 kB / 0.5051 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.8723, allocations: 12.44 kB / 0.5051 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8724, allocations: 1.406 kB / 0.5051 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.8724, allocations: 9.031 kB / 0.5051 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.8725, allocations: 7.469 kB / 0.5051 GB, free: 9.969 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 6.37e-05/0.8725, allocations: 101.9 kB / 0.5052 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.8726, allocations: 14.7 kB / 0.5053 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.8727, allocations: 20.83 kB / 0.5053 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8727, allocations: 2.094 kB / 0.5053 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.8727, allocations: 0.7031 kB / 0.5053 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8727, allocations: 5.219 kB / 0.5053 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.8731, allocations: 273.6 kB / 0.5055 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8731, allocations: 3.938 kB / 0.5055 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.8732, allocations: 10.72 kB / 0.5056 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8732, allocations: 2.812 kB / 0.5056 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8732, allocations: 0.5156 kB / 0.5056 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8732, allocations: 1.875 kB / 0.5056 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8732, allocations: 4.75 kB / 0.5056 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005319/0.8738, allocations: 394.9 kB / 0.5059 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000712/0.8745, allocations: 0.8603 MB / 0.5068 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.8745, allocations: 89.09 kB / 0.5069 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.8746, allocations: 5.656 kB / 0.5069 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.8747, allocations: 4.125 kB / 0.5069 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.8747, allocations: 6.781 kB / 0.5069 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.8747, allocations: 7.453 kB / 0.5069 GB, free: 8.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.583e-05/0.8748, allocations: 107.1 kB / 0.507 GB, free: 8.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008344/0.8757, allocations: 38.75 kB / 0.507 GB, free: 8.812 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.000187/0.8759, allocations: 102.2 kB / 0.5071 GB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.8762, allocations: 165.2 kB / 0.5073 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8762, allocations: 0 / 0.5073 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.8763, allocations: 80.11 kB / 0.5074 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.8766, allocations: 12.59 kB / 0.5074 GB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.8773, allocations: 260.9 kB / 0.5076 GB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.8776, allocations: 0.7484 MB / 0.5084 GB, free: 7.855 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8776, allocations: 0 / 0.5084 GB, free: 7.855 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)