Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.153/2.153, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001628/0.001627, allocations: 193.2 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001199/0.001198, allocations: 90.59 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2399/0.2411, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.7925, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2591/1.052, allocations: 171.6 MB / 1.13 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/1.052, allocations: 94.05 kB / 1.13 GB, free: 1.055 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.08095/1.133, allocations: 20.45 MB / 1.15 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.133, allocations: 12.5 kB / 1.15 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/1.135, allocations: 123.5 kB / 1.151 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/1.136, allocations: 270.5 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.136, allocations: 4 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/1.136, allocations: 16 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007751/1.137, allocations: 268.9 kB / 1.151 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/1.138, allocations: 359.5 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.138, allocations: 11.84 kB / 1.151 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/1.138, allocations: 4 kB / 1.151 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/1.138, allocations: 33.88 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/1.142, allocations: 2.015 MB / 1.153 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/1.142, allocations: 289.5 kB / 1.154 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/1.143, allocations: 174 kB / 1.154 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.143, allocations: 89.28 kB / 1.154 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.143, allocations: 38.69 kB / 1.154 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.826e-06/1.143, allocations: 0 / 1.154 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.003704/1.147, allocations: 0.8903 MB / 1.155 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.147, allocations: 77.11 kB / 1.155 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.147, allocations: 195.8 kB / 1.155 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/1.147, allocations: 25.7 kB / 1.155 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.148, allocations: 175.9 kB / 1.155 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.148, allocations: 118.3 kB / 1.155 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/1.148, allocations: 0 / 1.155 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.148, allocations: 338.8 kB / 1.156 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/1.148, allocations: 158.5 kB / 1.156 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/1.149, allocations: 268.3 kB / 1.156 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/1.15, allocations: 230.8 kB / 1.156 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.15, allocations: 0 / 1.156 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002073/1.152, allocations: 0.5978 MB / 1.157 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005005/1.152, allocations: 1.218 MB / 1.158 GB, free: 4.055 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.152, allocations: 4 kB / 1.158 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/1.153, allocations: 139.3 kB / 1.158 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/1.154, allocations: 101.5 kB / 1.158 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/1.158, allocations: 3.825 MB / 1.162 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/1.159, allocations: 27.97 kB / 1.162 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/1.159, allocations: 16.09 kB / 1.162 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.159, allocations: 4 kB / 1.162 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001927/1.161, allocations: 0.5255 MB / 1.163 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.161, allocations: 4 kB / 1.163 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/1.162, allocations: 131.3 kB / 1.163 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/1.162, allocations: 104 kB / 1.163 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/1.163, allocations: 1.13 MB / 1.164 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/1.164, allocations: 30.44 kB / 1.164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/1.164, allocations: 24.09 kB / 1.164 GB, free: 13.64 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.0002345/1.164, allocations: 115.7 kB / 1.164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.165, allocations: 31.61 kB / 1.164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/1.166, allocations: 0.556 MB / 1.165 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.166, allocations: 7.906 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.166, allocations: 0 / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.166, allocations: 3.984 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/1.17, allocations: 1.21 MB / 1.166 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.17, allocations: 7.984 kB / 1.166 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/1.17, allocations: 65.84 kB / 1.166 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006645/1.171, allocations: 147.2 kB / 1.166 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/1.171, allocations: 11.94 kB / 1.166 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/1.175, allocations: 3.838 MB / 1.17 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.175, allocations: 4.031 kB / 1.17 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00189/1.177, allocations: 0.8236 MB / 1.171 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001905/1.179, allocations: 1.194 MB / 1.172 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/1.18, allocations: 144.7 kB / 1.172 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/1.18, allocations: 7 kB / 1.172 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/1.18, allocations: 31.97 kB / 1.172 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.18, allocations: 27.97 kB / 1.172 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/1.18, allocations: 12 kB / 1.172 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002281/1.181, allocations: 152.5 kB / 1.172 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002761/1.183, allocations: 163.8 kB / 1.172 GB, free: 4.469 MB / 0.7761 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.0003183/1.184, allocations: 147 kB / 1.173 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.186, allocations: 1.049 MB / 1.174 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.186, allocations: 0 / 1.174 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.187, allocations: 428.1 kB / 1.174 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/1.188, allocations: 44.38 kB / 1.174 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/1.19, allocations: 0.5618 MB / 1.175 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/1.19, allocations: 0.8463 MB / 1.175 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of SimCode: time 1.373e-06/1.19, allocations: 0 / 1.175 GB, free: 1.246 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)