Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.324/1.324, allocations: 289.8 MB / 297 MB, free: 6.723 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.0009578/0.0009578, allocations: 181.3 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9992/0.9992, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 99.58 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.421e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4103, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.5723, allocations: 172.6 MB / 1.141 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5726, allocations: 96.44 kB / 1.141 GB, free: 7.684 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.04623/0.6188, allocations: 20.13 MB / 1.161 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.6188, allocations: 8 kB / 1.161 GB, free: 3.375 MB / 0.7605 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.0008051/0.6196, allocations: 0.5762 MB / 1.161 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6197, allocations: 8.031 kB / 1.161 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.6206, allocations: 119.5 kB / 1.162 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.621, allocations: 274.5 kB / 1.162 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.621, allocations: 8 kB / 1.162 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.6211, allocations: 12 kB / 1.162 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004169/0.6215, allocations: 265 kB / 1.162 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.622, allocations: 371.4 kB / 1.162 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.622, allocations: 7.891 kB / 1.163 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.6221, allocations: 0 / 1.163 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.6221, allocations: 36.42 kB / 1.163 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.6242, allocations: 2.003 MB / 1.164 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.6246, allocations: 285.5 kB / 1.165 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.6249, allocations: 174 kB / 1.165 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.625, allocations: 89.28 kB / 1.165 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6251, allocations: 42.75 kB / 1.165 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.6251, allocations: 0 / 1.165 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.00196/0.627, allocations: 0.8836 MB / 1.166 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.6271, allocations: 81.11 kB / 1.166 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.6273, allocations: 203.7 kB / 1.166 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6273, allocations: 25.7 kB / 1.166 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.6274, allocations: 168 kB / 1.166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.6275, allocations: 118.3 kB / 1.166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.6275, allocations: 4.031 kB / 1.166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.6276, allocations: 334.8 kB / 1.167 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.6278, allocations: 160.8 kB / 1.167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.6281, allocations: 268.2 kB / 1.167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.6285, allocations: 235.5 kB / 1.167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6285, allocations: 3.938 kB / 1.167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001015/0.6295, allocations: 0.5885 MB / 1.168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000368/0.6299, allocations: 1.221 MB / 1.169 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6299, allocations: 8 kB / 1.169 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.6303, allocations: 131.3 kB / 1.169 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.6307, allocations: 103.9 kB / 1.169 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.6331, allocations: 3.812 MB / 1.173 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.6334, allocations: 27.97 kB / 1.173 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.6335, allocations: 19.98 kB / 1.173 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/0.6335, allocations: 8.094 kB / 1.173 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009223/0.6344, allocations: 0.5319 MB / 1.174 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6344, allocations: 7.984 kB / 1.174 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.6347, allocations: 131.3 kB / 1.174 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.6351, allocations: 104 kB / 1.174 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/0.6357, allocations: 1.128 MB / 1.175 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.6359, allocations: 27.97 kB / 1.175 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.636, allocations: 16 kB / 1.175 GB, free: 3.898 MB / 0.7761 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.0001312/0.6361, allocations: 117 kB / 1.175 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.6362, allocations: 31.62 kB / 1.175 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009435/0.6372, allocations: 0.5496 MB / 1.176 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6372, allocations: 7.906 kB / 1.176 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6372, allocations: 0 / 1.176 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6372, allocations: 0 / 1.176 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.639, allocations: 1.217 MB / 1.177 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.639, allocations: 4 kB / 1.177 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6392, allocations: 72.14 kB / 1.177 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.6396, allocations: 143.2 kB / 1.177 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6396, allocations: 4 kB / 1.177 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.642, allocations: 3.847 MB / 1.181 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.642, allocations: 11.97 kB / 1.181 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008986/0.6429, allocations: 0.8189 MB / 1.182 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.6431, allocations: 140.7 kB / 1.182 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.6431, allocations: 4 kB / 1.182 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.6434, allocations: 35.97 kB / 1.182 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.6435, allocations: 27.84 kB / 1.182 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.6435, allocations: 15.91 kB / 1.182 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0001127/0.6437, allocations: 152.5 kB / 1.182 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000631/0.6443, allocations: 163.9 kB / 1.182 GB, free: 12.02 MB / 0.7917 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.0001909/0.6445, allocations: 151.2 kB / 1.182 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.6457, allocations: 1.028 MB / 1.183 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6458, allocations: 0 / 1.183 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.6463, allocations: 419.3 kB / 1.184 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.6466, allocations: 52.02 kB / 1.184 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.6476, allocations: 0.5639 MB / 1.184 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.648, allocations: 0.8385 MB / 1.185 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of SimCode: time 2.2e-07/0.648, allocations: 0 / 1.185 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of Templates: time 0.01025/0.6582, allocations: 6.8 MB / 1.192 GB, free: 2.062 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)