Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_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.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.000939/0.0009391, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.9986/0.9986, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.00077/0.00077, allocations: 97.7 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.1752, allocations: 121.5 MB / 0.8512 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.5834, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.7366, allocations: 170.2 MB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.7369, allocations: 95.05 kB / 1.13 GB, free: 1.691 MB / 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.04559/0.7825, allocations: 20.45 MB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.7825, allocations: 8 kB / 1.15 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.7835, allocations: 129.3 kB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.7839, allocations: 274.5 kB / 1.15 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.7839, allocations: 8 kB / 1.15 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.7839, allocations: 12 kB / 1.15 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004067/0.7843, allocations: 261 kB / 1.151 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.7849, allocations: 371.4 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7849, allocations: 3.906 kB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.7849, allocations: 0 / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.785, allocations: 32.48 kB / 1.151 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.7872, allocations: 2.01 MB / 1.153 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.7876, allocations: 283.5 kB / 1.153 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.7879, allocations: 178 kB / 1.153 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.931e-05/0.788, allocations: 89.28 kB / 1.154 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.788, allocations: 34.75 kB / 1.154 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.788, allocations: 4 kB / 1.154 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.001976/0.79, allocations: 0.8867 MB / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.7901, allocations: 89.08 kB / 1.155 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.7902, allocations: 195.8 kB / 1.155 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.7903, allocations: 29.64 kB / 1.155 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.7904, allocations: 171.9 kB / 1.155 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.7904, allocations: 119.9 kB / 1.155 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.7905, allocations: 0 / 1.155 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.7906, allocations: 334.8 kB / 1.155 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.7908, allocations: 156.8 kB / 1.156 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.7911, allocations: 268.3 kB / 1.156 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.7915, allocations: 227.1 kB / 1.156 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7915, allocations: 4 kB / 1.156 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001103/0.7926, allocations: 0.5981 MB / 1.157 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.793, allocations: 1.217 MB / 1.158 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.793, allocations: 0 / 1.158 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000368/0.7934, allocations: 139.3 kB / 1.158 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.7938, allocations: 107.8 kB / 1.158 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.7961, allocations: 3.806 MB / 1.162 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.7964, allocations: 32.12 kB / 1.162 GB, free: 344 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.7965, allocations: 19.98 kB / 1.162 GB, free: 324 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.7965, allocations: 5.875 kB / 1.162 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009367/0.7974, allocations: 0.5259 MB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7975, allocations: 9.266 kB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.7977, allocations: 135.8 kB / 1.162 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7981, allocations: 99.88 kB / 1.163 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005886/0.7987, allocations: 1.128 MB / 1.164 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.799, allocations: 28.16 kB / 1.164 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.799, allocations: 20 kB / 1.164 GB, free: 14.3 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.0001379/0.7992, allocations: 122.7 kB / 1.164 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.7993, allocations: 27.62 kB / 1.164 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.8002, allocations: 0.5561 MB / 1.164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.8002, allocations: 11.89 kB / 1.164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8002, allocations: 0 / 1.164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8002, allocations: 0 / 1.164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.802, allocations: 1.215 MB / 1.166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.802, allocations: 0 / 1.166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.8023, allocations: 71.89 kB / 1.166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/0.8026, allocations: 143.4 kB / 1.166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.8027, allocations: 8 kB / 1.166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.8049, allocations: 3.85 MB / 1.17 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.805, allocations: 4.031 kB / 1.17 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009219/0.8059, allocations: 0.8179 MB / 1.17 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009952/0.8069, allocations: 1.207 MB / 1.171 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.8071, allocations: 136.7 kB / 1.172 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.8071, allocations: 4 kB / 1.172 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.8074, allocations: 35.69 kB / 1.172 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.8075, allocations: 19.97 kB / 1.172 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.8075, allocations: 19.98 kB / 1.172 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001188/0.8076, allocations: 152.5 kB / 1.172 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001755/0.8094, allocations: 159.8 kB / 1.172 GB, free: 5.125 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.0002074/0.8096, allocations: 162.7 kB / 1.172 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.8109, allocations: 1.029 MB / 1.173 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8109, allocations: 0 / 1.173 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.8114, allocations: 424.4 kB / 1.174 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.8118, allocations: 47.3 kB / 1.174 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.8129, allocations: 0.5654 MB / 1.174 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.8133, allocations: 0.8424 MB / 1.175 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of SimCode: time 2.51e-07/0.8133, allocations: 4 kB / 1.175 GB, free: 1.91 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)