Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 9.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 175.7 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 2.914 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007693/0.0007691, allocations: 90.78 kB / 0.7326 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.571e-06, allocations: 0 / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5835, allocations: 171.7 MB / 1.131 GB, free: 23.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5838, allocations: 89.11 kB / 1.131 GB, free: 23.73 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.04229/0.6261, allocations: 20.14 MB / 1.151 GB, free: 22.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6261, allocations: 3.906 kB / 1.151 GB, free: 22.06 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006237/0.6267, allocations: 0.5739 MB / 1.152 GB, free: 21.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.6268, allocations: 11.62 kB / 1.152 GB, free: 21.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/0.6277, allocations: 129.5 kB / 1.152 GB, free: 21.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.628, allocations: 269.6 kB / 1.152 GB, free: 21.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.628, allocations: 7.688 kB / 1.152 GB, free: 21.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.6281, allocations: 11.56 kB / 1.152 GB, free: 21.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000375/0.6285, allocations: 263.1 kB / 1.152 GB, free: 21.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.6289, allocations: 369.2 kB / 1.153 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6289, allocations: 3.938 kB / 1.153 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.6289, allocations: 0 / 1.153 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.629, allocations: 37.36 kB / 1.153 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.6309, allocations: 2.015 MB / 1.155 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.6312, allocations: 274.4 kB / 1.155 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.6315, allocations: 185 kB / 1.155 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.6316, allocations: 84.64 kB / 1.155 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.6317, allocations: 38.16 kB / 1.155 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.6317, allocations: 0 / 1.155 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.00191/0.6336, allocations: 0.8885 MB / 1.156 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.6336, allocations: 92.36 kB / 1.156 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.6338, allocations: 191.6 kB / 1.156 GB, free: 35.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.6338, allocations: 33.48 kB / 1.156 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.6339, allocations: 169.4 kB / 1.157 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.6339, allocations: 114.5 kB / 1.157 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.634, allocations: 0 / 1.157 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6341, allocations: 339.5 kB / 1.157 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.6343, allocations: 158 kB / 1.157 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.6346, allocations: 266.3 kB / 1.157 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.635, allocations: 231 kB / 1.158 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.635, allocations: 7.938 kB / 1.158 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001012/0.636, allocations: 0.5937 MB / 1.158 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003277/0.6363, allocations: 1.215 MB / 1.159 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6364, allocations: 8.359 kB / 1.159 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.6367, allocations: 131.8 kB / 1.16 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.6372, allocations: 100.8 kB / 1.16 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.6395, allocations: 3.817 MB / 1.163 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.6399, allocations: 34.28 kB / 1.163 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.6399, allocations: 16.83 kB / 1.163 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-06/0.6399, allocations: 3.812 kB / 1.163 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009577/0.6409, allocations: 0.5228 MB / 1.164 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6409, allocations: 3.906 kB / 1.164 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/0.6412, allocations: 134 kB / 1.164 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.6416, allocations: 96.12 kB / 1.164 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006085/0.6422, allocations: 1.131 MB / 1.165 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.6425, allocations: 35.12 kB / 1.165 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.6425, allocations: 15.86 kB / 1.165 GB, free: 28.48 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.6427, allocations: 125.4 kB / 1.165 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.6427, allocations: 26.91 kB / 1.165 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.6437, allocations: 0.556 MB / 1.166 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6437, allocations: 4.656 kB / 1.166 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6437, allocations: 3.906 kB / 1.166 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6437, allocations: 6 kB / 1.166 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.6455, allocations: 1.208 MB / 1.167 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.6455, allocations: 4.578 kB / 1.167 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.6458, allocations: 65.44 kB / 1.167 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/0.6462, allocations: 145.4 kB / 1.167 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.6462, allocations: 8.406 kB / 1.167 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.6485, allocations: 3.852 MB / 1.171 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6485, allocations: 7.891 kB / 1.171 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008509/0.6494, allocations: 0.8228 MB / 1.172 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.6495, allocations: 138.4 kB / 1.172 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.6496, allocations: 11.86 kB / 1.172 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.6499, allocations: 23.14 kB / 1.172 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.65, allocations: 30.8 kB / 1.172 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.65, allocations: 14.69 kB / 1.172 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001152/0.6501, allocations: 153.4 kB / 1.172 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006249/0.6508, allocations: 151.1 kB / 1.172 GB, free: 23.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.6509, allocations: 149.6 kB / 1.173 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.6521, allocations: 1.038 MB / 1.174 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6522, allocations: 0 / 1.174 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.6527, allocations: 433.7 kB / 1.174 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.653, allocations: 42.36 kB / 1.174 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.6539, allocations: 0.57 MB / 1.175 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.6543, allocations: 0.8432 MB / 1.175 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6543, allocations: 0 / 1.175 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.008562/0.6629, allocations: 6.796 MB / 1.182 GB, free: 18.24 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)