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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009048/0.0009048, allocations: 173.3 kB / 361.1 MB, free: 7.117 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.9782/0.9782, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0007317/0.0007318, allocations: 99.22 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1689/0.1696, allocations: 121.5 MB / 0.8512 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.5722, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.7299, allocations: 171.7 MB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.7302, allocations: 92.88 kB / 1.131 GB, free: 244 kB / 0.7292 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: 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.0471/0.7773, allocations: 20.73 MB / 1.152 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.7774, allocations: 8.5 kB / 1.152 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.7784, allocations: 123.5 kB / 1.152 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.7788, allocations: 270.5 kB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7788, allocations: 12 kB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.7789, allocations: 12 kB / 1.152 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000421/0.7793, allocations: 268.9 kB / 1.152 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.7798, allocations: 359.5 kB / 1.153 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7798, allocations: 11.84 kB / 1.153 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7798, allocations: 0 / 1.153 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.7799, allocations: 36.41 kB / 1.153 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.7821, allocations: 2.01 MB / 1.155 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.7825, allocations: 284.4 kB / 1.155 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.7828, allocations: 170 kB / 1.155 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.7829, allocations: 93.28 kB / 1.155 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.7829, allocations: 38.69 kB / 1.155 GB, free: 7.453 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.783, allocations: 5.688 kB / 1.155 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.002064/0.785, allocations: 0.8853 MB / 1.156 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7851, allocations: 81.11 kB / 1.156 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.7853, allocations: 203.7 kB / 1.156 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.7853, allocations: 25.7 kB / 1.156 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.7854, allocations: 172 kB / 1.157 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.7855, allocations: 114.3 kB / 1.157 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.7855, allocations: 0 / 1.157 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7856, allocations: 338.8 kB / 1.157 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7858, allocations: 160.8 kB / 1.157 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.7861, allocations: 268.2 kB / 1.157 GB, free: 5.125 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.7865, allocations: 223.2 kB / 1.158 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7865, allocations: 4 kB / 1.158 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001038/0.7876, allocations: 0.5975 MB / 1.158 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/0.788, allocations: 1.217 MB / 1.159 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.788, allocations: 4 kB / 1.159 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.7884, allocations: 139.3 kB / 1.16 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.7888, allocations: 95.88 kB / 1.16 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.7913, allocations: 3.826 MB / 1.163 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.7916, allocations: 33.44 kB / 1.163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.7917, allocations: 16 kB / 1.163 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.7917, allocations: 4 kB / 1.163 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009626/0.7927, allocations: 0.5244 MB / 1.164 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7927, allocations: 4 kB / 1.164 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.793, allocations: 127.4 kB / 1.164 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.7934, allocations: 109.2 kB / 1.164 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005853/0.794, allocations: 1.128 MB / 1.165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.7943, allocations: 30.03 kB / 1.165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.7943, allocations: 20 kB / 1.165 GB, free: 12.57 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.0001798/0.7945, allocations: 115.7 kB / 1.165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.7946, allocations: 27.62 kB / 1.166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009767/0.7955, allocations: 0.5636 MB / 1.166 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7956, allocations: 7.906 kB / 1.166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7956, allocations: 0 / 1.166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7956, allocations: 0 / 1.166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.7974, allocations: 1.212 MB / 1.167 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7974, allocations: 1.75 kB / 1.167 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.7977, allocations: 72.14 kB / 1.167 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.7981, allocations: 151.2 kB / 1.167 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.7981, allocations: 4 kB / 1.167 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.8005, allocations: 3.843 MB / 1.171 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8005, allocations: 4.031 kB / 1.171 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009275/0.8014, allocations: 0.8235 MB / 1.172 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001043/0.8025, allocations: 1.204 MB / 1.173 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.8026, allocations: 144.7 kB / 1.173 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.8027, allocations: 6.375 kB / 1.173 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.803, allocations: 27.97 kB / 1.173 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.8031, allocations: 23.97 kB / 1.173 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.8031, allocations: 16 kB / 1.173 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001202/0.8033, allocations: 152.5 kB / 1.174 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001772/0.805, allocations: 167.7 kB / 1.174 GB, free: 3.387 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.000215/0.8053, allocations: 162.8 kB / 1.174 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.8066, allocations: 1.025 MB / 1.175 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8066, allocations: 0.5 kB / 1.175 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.8071, allocations: 427.3 kB / 1.175 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.8075, allocations: 41.69 kB / 1.175 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.8085, allocations: 0.5687 MB / 1.176 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.809, allocations: 0.8424 MB / 1.177 GB, free: 184 kB / 0.7761 GB Notification: Performance of SimCode: time 1.333e-06/0.809, allocations: 1.688 kB / 1.177 GB, free: 184 kB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)