Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",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.129/2.129, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001569/0.001569, allocations: 189.2 kB / 360.3 MB, free: 7.531 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.614/1.614, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001193/0.001193, allocations: 95.84 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2447, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5429/0.7876, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/1.052, allocations: 179.5 MB / 1.138 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.052, allocations: 83.94 kB / 1.138 GB, free: 9.188 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.1794/1.232, allocations: 45.01 MB / 1.182 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.232, allocations: 12 kB / 1.182 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/1.25, allocations: 1.185 MB / 1.183 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.252, allocations: 0.5605 MB / 1.184 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/1.252, allocations: 20 kB / 1.184 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/1.252, allocations: 32 kB / 1.184 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004042/1.256, allocations: 1.264 MB / 1.185 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/1.26, allocations: 1.291 MB / 1.186 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/1.26, allocations: 7.938 kB / 1.186 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/1.26, allocations: 0 / 1.186 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003656/1.26, allocations: 105.1 kB / 1.186 GB, free: 7.363 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/1.276, allocations: 6.248 MB / 1.193 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/1.278, allocations: 0.9227 MB / 1.193 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.28, allocations: 0.5717 MB / 1.194 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004305/1.284, allocations: 2.222 MB / 1.196 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/1.284, allocations: 46.56 kB / 1.196 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 3.567e-06/1.284, allocations: 0 / 1.196 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.01709/1.301, allocations: 3.578 MB / 1.2 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.302, allocations: 203.8 kB / 1.2 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/1.303, allocations: 442.6 kB / 1.2 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/1.303, allocations: 25.7 kB / 1.2 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/1.303, allocations: 350.8 kB / 1.201 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/1.304, allocations: 319.3 kB / 1.201 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.304, allocations: 0 / 1.201 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002243/1.304, allocations: 374.8 kB / 1.201 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.306, allocations: 0.6429 MB / 1.202 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/1.308, allocations: 0.9129 MB / 1.203 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/1.312, allocations: 0.8776 MB / 1.204 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.312, allocations: 0 / 1.204 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01137/1.323, allocations: 2.399 MB / 1.206 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001491/1.325, allocations: 3.134 MB / 1.209 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/1.325, allocations: 8 kB / 1.209 GB, free: 15.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/1.33, allocations: 0.6694 MB / 1.21 GB, free: 14.42 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/1.335, allocations: 391.4 kB / 1.21 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.35, allocations: 6.931 MB / 1.217 GB, free: 6.742 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/1.354, allocations: 199.7 kB / 1.217 GB, free: 6.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.354, allocations: 59.97 kB / 1.217 GB, free: 6.488 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.539e-06/1.354, allocations: 4 kB / 1.217 GB, free: 6.484 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006397/1.361, allocations: 1.777 MB / 1.219 GB, free: 4.699 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.361, allocations: 11.94 kB / 1.219 GB, free: 4.688 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.362, allocations: 218 kB / 1.219 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/1.366, allocations: 435.3 kB / 1.22 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/1.373, allocations: 3.679 MB / 1.223 GB, free: 148 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.376, allocations: 197.8 kB / 1.223 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.376, allocations: 55.97 kB / 1.223 GB, free: 15.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004353/1.377, allocations: 132.7 kB / 1.224 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/1.377, allocations: 71.16 kB / 1.224 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.388, allocations: 2.343 MB / 1.226 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.388, allocations: 13.09 kB / 1.226 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.389, allocations: 12 kB / 1.226 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.389, allocations: 7.922 kB / 1.226 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.403, allocations: 4.109 MB / 1.23 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.403, allocations: 17.67 kB / 1.23 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/1.406, allocations: 287.6 kB / 1.23 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/1.412, allocations: 0.7926 MB / 1.231 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/1.412, allocations: 19.98 kB / 1.231 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/1.429, allocations: 7.914 MB / 1.239 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/1.429, allocations: 8 kB / 1.239 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009913/1.439, allocations: 2.695 MB / 1.241 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01001/1.449, allocations: 3.096 MB / 1.244 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008513/1.45, allocations: 304.1 kB / 1.245 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.45, allocations: 8 kB / 1.245 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/1.454, allocations: 219.8 kB / 1.245 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.454, allocations: 71.77 kB / 1.245 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.454, allocations: 35.97 kB / 1.245 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000622/1.455, allocations: 330.9 kB / 1.245 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004297/1.459, allocations: 447.9 kB / 1.246 GB, free: 7.938 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/1.459, allocations: 135.7 kB / 1.246 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009827/1.469, allocations: 3.118 MB / 1.249 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.469, allocations: 0 / 1.249 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.473, allocations: 1.277 MB / 1.25 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.474, allocations: 83.39 kB / 1.25 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/1.491, allocations: 2.367 MB / 1.253 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3725/1.864, allocations: 1.131 MB / 1.254 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.493e-06/1.864, allocations: 0 / 1.254 GB, free: 201.1 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)