Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 189.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008805, allocations: 98.56 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3696/0.3706, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.5425, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/1.053, allocations: 166.4 MB / 1.047 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.053, allocations: 94.38 kB / 1.047 GB, free: 6.551 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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: 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.04689/1.1, allocations: 20.73 MB / 1.068 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/1.1, allocations: 8 kB / 1.068 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009604/1.101, allocations: 119.5 kB / 1.068 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/1.102, allocations: 284.7 kB / 1.068 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/1.102, allocations: 8 kB / 1.068 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.102, allocations: 12 kB / 1.068 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004136/1.102, allocations: 267.5 kB / 1.068 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/1.102, allocations: 364.2 kB / 1.069 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.103, allocations: 0 / 1.069 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/1.103, allocations: 4 kB / 1.069 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/1.103, allocations: 36.22 kB / 1.069 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/1.105, allocations: 2.01 MB / 1.071 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/1.105, allocations: 280.6 kB / 1.071 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/1.106, allocations: 180.2 kB / 1.071 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/1.106, allocations: 85.28 kB / 1.071 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.106, allocations: 45.8 kB / 1.071 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/1.106, allocations: 0 / 1.071 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.002082/1.108, allocations: 0.8846 MB / 1.072 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.108, allocations: 81.11 kB / 1.072 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/1.108, allocations: 200.2 kB / 1.072 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/1.108, allocations: 25.7 kB / 1.072 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/1.108, allocations: 169.4 kB / 1.072 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/1.108, allocations: 108.4 kB / 1.073 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.108, allocations: 4.031 kB / 1.073 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/1.108, allocations: 341 kB / 1.073 GB, free: 360 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.109, allocations: 162.2 kB / 1.073 GB, free: 256 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/1.109, allocations: 270.2 kB / 1.073 GB, free: 4 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.109, allocations: 235.7 kB / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.109, allocations: 0 / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001005/1.11, allocations: 0.5948 MB / 1.074 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004175/1.111, allocations: 1.218 MB / 1.075 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.111, allocations: 4 kB / 1.075 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/1.111, allocations: 138.3 kB / 1.075 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/1.112, allocations: 99.81 kB / 1.075 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/1.114, allocations: 3.811 MB / 1.079 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/1.115, allocations: 31.88 kB / 1.079 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/1.115, allocations: 15.88 kB / 1.079 GB, free: 9.902 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-06/1.115, allocations: 8.094 kB / 1.079 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009215/1.116, allocations: 0.5361 MB / 1.08 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.116, allocations: 4 kB / 1.08 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/1.116, allocations: 126.5 kB / 1.08 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/1.116, allocations: 99.31 kB / 1.08 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006233/1.117, allocations: 1.131 MB / 1.081 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.117, allocations: 27.97 kB / 1.081 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.117, allocations: 19.05 kB / 1.081 GB, free: 8.078 MB / 0.698 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.0001606/1.117, allocations: 127.4 kB / 1.081 GB, free: 7.949 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/1.117, allocations: 23.72 kB / 1.081 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/1.118, allocations: 0.5538 MB / 1.082 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.118, allocations: 4 kB / 1.082 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.118, allocations: 0 / 1.082 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.118, allocations: 7.984 kB / 1.082 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/1.12, allocations: 1.22 MB / 1.083 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.12, allocations: 4 kB / 1.083 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/1.121, allocations: 64.16 kB / 1.083 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/1.121, allocations: 147.8 kB / 1.083 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.121, allocations: 0 / 1.083 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/1.123, allocations: 3.846 MB / 1.087 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.123, allocations: 7.922 kB / 1.087 GB, free: 2.258 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009059/1.124, allocations: 0.8256 MB / 1.088 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009829/1.125, allocations: 1.196 MB / 1.089 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.125, allocations: 141.3 kB / 1.089 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/1.126, allocations: 7.938 kB / 1.089 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/1.126, allocations: 31.97 kB / 1.089 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/1.126, allocations: 26.81 kB / 1.089 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/1.126, allocations: 15.62 kB / 1.089 GB, free: 72 kB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001135/1.126, allocations: 155.9 kB / 1.089 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001742/1.128, allocations: 166.4 kB / 1.09 GB, free: 15.79 MB / 0.7136 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.0002005/1.128, allocations: 135.1 kB / 1.09 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.129, allocations: 1.027 MB / 1.091 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.129, allocations: 1.312 kB / 1.091 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005198/1.13, allocations: 429 kB / 1.091 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/1.13, allocations: 46.61 kB / 1.091 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.131, allocations: 0.5677 MB / 1.092 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.132, allocations: 0.841 MB / 1.092 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/1.132, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)