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.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001019/0.001019, allocations: 177.2 kB / 316 MB, free: 3.555 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.173/1.173, 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.0008309/0.000831, allocations: 101.4 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3418/0.3427, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.5067, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.9913, allocations: 174.4 MB / 1.055 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.9916, allocations: 95.48 kB / 1.055 GB, free: 14.73 MB / 0.6823 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.1043/1.096, allocations: 45.01 MB / 1.099 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.096, allocations: 12 kB / 1.099 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008711/1.105, allocations: 1.177 MB / 1.1 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.106, allocations: 0.5605 MB / 1.101 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/1.106, allocations: 20 kB / 1.101 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.106, allocations: 39.91 kB / 1.101 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002148/1.108, allocations: 1.261 MB / 1.102 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.11, allocations: 1.287 MB / 1.103 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.11, allocations: 11.92 kB / 1.103 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.11, allocations: 0 / 1.103 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/1.11, allocations: 99.7 kB / 1.103 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009119/1.12, allocations: 6.24 MB / 1.109 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.121, allocations: 0.9281 MB / 1.11 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/1.122, allocations: 0.5679 MB / 1.111 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00277/1.124, allocations: 2.222 MB / 1.113 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.124, allocations: 48.48 kB / 1.113 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.885e-06/1.124, allocations: 0 / 1.113 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.008868/1.133, allocations: 3.58 MB / 1.117 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/1.133, allocations: 203.8 kB / 1.117 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/1.134, allocations: 433 kB / 1.117 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/1.134, allocations: 25.7 kB / 1.117 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.134, allocations: 354.8 kB / 1.118 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/1.134, allocations: 315.3 kB / 1.118 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/1.135, allocations: 0 / 1.118 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.135, allocations: 374.8 kB / 1.118 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/1.136, allocations: 0.6429 MB / 1.119 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.137, allocations: 0.9129 MB / 1.12 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.139, allocations: 0.8759 MB / 1.121 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.139, allocations: 0 / 1.121 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005825/1.144, allocations: 2.404 MB / 1.123 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.146, allocations: 3.128 MB / 1.126 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/1.146, allocations: 8 kB / 1.126 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/1.149, allocations: 0.6744 MB / 1.127 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.151, allocations: 391.4 kB / 1.127 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008346/1.159, allocations: 6.939 MB / 1.134 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.161, allocations: 191.8 kB / 1.134 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/1.162, allocations: 63.86 kB / 1.134 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.162, allocations: 4 kB / 1.134 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003816/1.166, allocations: 1.781 MB / 1.136 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.166, allocations: 11.98 kB / 1.136 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/1.166, allocations: 213.5 kB / 1.136 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/1.169, allocations: 439.7 kB / 1.137 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/1.173, allocations: 3.677 MB / 1.14 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.174, allocations: 195.7 kB / 1.14 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/1.175, allocations: 59.97 kB / 1.14 GB, free: 15.4 MB / 0.7605 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.000337/1.175, allocations: 130 kB / 1.14 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/1.175, allocations: 75.06 kB / 1.141 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006038/1.181, allocations: 2.353 MB / 1.143 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.181, allocations: 12 kB / 1.143 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.181, allocations: 4 kB / 1.143 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/1.181, allocations: 3.984 kB / 1.143 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007913/1.189, allocations: 4.127 MB / 1.147 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.189, allocations: 7.938 kB / 1.147 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.191, allocations: 296.2 kB / 1.147 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/1.194, allocations: 0.7916 MB / 1.148 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.194, allocations: 19.97 kB / 1.148 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008824/1.203, allocations: 7.918 MB / 1.156 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.203, allocations: 7.906 kB / 1.156 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005486/1.208, allocations: 2.691 MB / 1.158 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005741/1.214, allocations: 3.088 MB / 1.161 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/1.215, allocations: 312.1 kB / 1.162 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.215, allocations: 15.84 kB / 1.162 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.217, allocations: 207.7 kB / 1.162 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.217, allocations: 63.77 kB / 1.162 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.218, allocations: 47.97 kB / 1.162 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0004613/1.218, allocations: 326.9 kB / 1.162 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00318/1.221, allocations: 444 kB / 1.163 GB, free: 7.387 MB / 0.7761 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.0002818/1.221, allocations: 135 kB / 1.163 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005407/1.227, allocations: 3.117 MB / 1.166 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.227, allocations: 0 / 1.166 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/1.229, allocations: 1.277 MB / 1.167 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/1.23, allocations: 84.8 kB / 1.167 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/1.238, allocations: 2.37 MB / 1.17 GB, free: 220 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.24, allocations: 1.133 MB / 1.171 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of SimCode: time 5.01e-07/1.24, allocations: 4 kB / 1.171 GB, free: 15.05 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)