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/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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: translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") [: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.001926/0.001927, allocations: 178.3 kB / 7.454 MB, free: 2.504 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.126/1.126, 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.0008346/0.0008346, allocations: 101.4 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05523/0.05523, allocations: 14 MB / 323 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 0 / 381.3 MB, free: 73.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08098, allocations: 51.11 MB / 432.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.3205, allocations: 78.2 MB / 0.4986 GB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.3207, allocations: 67.83 kB / 0.4987 GB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007604/0.3284, allocations: 3.273 MB / 0.5019 GB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3284, allocations: 0 / 0.5019 GB, free: 11.86 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.0006426/0.329, allocations: 494.4 kB / 0.5024 GB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3291, allocations: 8.016 kB / 0.5024 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.3291, allocations: 19.03 kB / 0.5024 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3294, allocations: 225.4 kB / 0.5026 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3294, allocations: 7.5 kB / 0.5026 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.3294, allocations: 7.375 kB / 0.5026 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002237/0.3296, allocations: 142.2 kB / 0.5027 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3299, allocations: 163.6 kB / 0.5029 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3299, allocations: 3.844 kB / 0.5029 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3299, allocations: 0 / 0.5029 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3299, allocations: 12.98 kB / 0.5029 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.3307, allocations: 0.6021 MB / 0.5035 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3309, allocations: 132.6 kB / 0.5036 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.331, allocations: 81.58 kB / 0.5037 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.331, allocations: 1.25 kB / 0.5037 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.3311, allocations: 33.05 kB / 0.5037 GB, free: 10.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3311, allocations: 0 / 0.5037 GB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003583/0.3314, allocations: 186 kB / 0.5039 GB, free: 10.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.3315, allocations: 52.59 kB / 0.504 GB, free: 10.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3316, allocations: 139.1 kB / 0.5041 GB, free: 10.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3316, allocations: 26.27 kB / 0.5041 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.3317, allocations: 122.2 kB / 0.5042 GB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.3318, allocations: 48.84 kB / 0.5043 GB, free: 10.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.3318, allocations: 0 / 0.5043 GB, free: 10.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.3319, allocations: 324.6 kB / 0.5046 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.332, allocations: 69.47 kB / 0.5047 GB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3321, allocations: 62.42 kB / 0.5047 GB, free: 10.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3323, allocations: 77.67 kB / 0.5048 GB, free: 10.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3323, allocations: 4 kB / 0.5048 GB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000313/0.3326, allocations: 188.9 kB / 0.505 GB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3326, allocations: 6.688 kB / 0.505 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3326, allocations: 0 / 0.505 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3327, allocations: 5.016 kB / 0.505 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3328, allocations: 11.78 kB / 0.505 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3328, allocations: 1.062 kB / 0.505 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.3329, allocations: 9.594 kB / 0.505 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3329, allocations: 11.75 kB / 0.505 GB, free: 10.09 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 5.384e-05/0.3329, allocations: 110.8 kB / 0.5051 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.333, allocations: 13.12 kB / 0.5051 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.333, allocations: 16.66 kB / 0.5052 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.333, allocations: 2.562 kB / 0.5052 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3331, allocations: 0.5625 kB / 0.5052 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3331, allocations: 1.938 kB / 0.5052 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3333, allocations: 271.8 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3333, allocations: 0.5625 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3335, allocations: 11.78 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3335, allocations: 0.7812 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3335, allocations: 5.344 kB / 0.5054 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3335, allocations: 2.141 kB / 0.5054 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3335, allocations: 3.906 kB / 0.5055 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004425/0.334, allocations: 392.9 kB / 0.5058 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.334, allocations: 89.56 kB / 0.5059 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.334, allocations: 6.062 kB / 0.5059 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.3341, allocations: 0 / 0.5059 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.3341, allocations: 13.84 kB / 0.5059 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3342, allocations: 7.438 kB / 0.5059 GB, free: 9.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.824e-05/0.3342, allocations: 108 kB / 0.506 GB, free: 9.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.3345, allocations: 35.72 kB / 0.5061 GB, free: 9.449 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.0001139/0.3346, allocations: 104.2 kB / 0.5062 GB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3349, allocations: 157.5 kB / 0.5063 GB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3349, allocations: 0 / 0.5063 GB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.335, allocations: 84.8 kB / 0.5064 GB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3352, allocations: 11.55 kB / 0.5064 GB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.3357, allocations: 254.9 kB / 0.5067 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.336, allocations: 0.7462 MB / 0.5074 GB, free: 8.523 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.336, allocations: 3.938 kB / 0.5074 GB, free: 8.52 MB / 330.7 MB Notification: Performance of Templates: time 0.003685/0.3397, allocations: 1.565 MB / 0.5089 GB, free: 7.742 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (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 & ./PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1)