Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") [: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.1.4-maint.8.1.x/package.mo): time 1.322/1.322, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.000993/0.000993, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.04/1.04, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0007753/0.0007753, allocations: 93.02 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.311e-06/6.522e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4191, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5883, allocations: 176.9 MB / 1.145 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.5886, allocations: 91.88 kB / 1.145 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.09463/0.6832, allocations: 43.01 MB / 1.187 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.6833, allocations: 16 kB / 1.187 GB, free: 8.062 MB / 0.7917 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.001442/0.6847, allocations: 0.9156 MB / 1.188 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.6848, allocations: 12.03 kB / 1.188 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008212/0.693, allocations: 1.193 MB / 1.19 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.6938, allocations: 0.5488 MB / 1.19 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.6938, allocations: 20 kB / 1.19 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.694, allocations: 36 kB / 1.19 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/0.6959, allocations: 1.264 MB / 1.191 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.6975, allocations: 1.298 MB / 1.193 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6976, allocations: 3.938 kB / 1.193 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.6977, allocations: 4 kB / 1.193 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.6978, allocations: 97.14 kB / 1.193 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/0.7054, allocations: 6.243 MB / 1.199 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.7066, allocations: 0.9258 MB / 1.2 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.7073, allocations: 0.5672 MB / 1.2 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.7097, allocations: 2.222 MB / 1.202 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7098, allocations: 46.56 kB / 1.202 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 2.043e-06/0.7098, allocations: 0 / 1.202 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.008443/0.7182, allocations: 3.572 MB / 1.206 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.7184, allocations: 199.8 kB / 1.206 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.7188, allocations: 429 kB / 1.207 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.7189, allocations: 33.64 kB / 1.207 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.7191, allocations: 358.7 kB / 1.207 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.7194, allocations: 311.4 kB / 1.207 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.7195, allocations: 0 / 1.207 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7196, allocations: 374.8 kB / 1.208 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/0.7205, allocations: 0.6429 MB / 1.208 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.7215, allocations: 0.9165 MB / 1.209 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.7232, allocations: 0.8759 MB / 1.21 GB, free: 48 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7232, allocations: 4 kB / 1.21 GB, free: 44 kB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005358/0.7285, allocations: 2.388 MB / 1.212 GB, free: 13.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.7296, allocations: 3.136 MB / 1.215 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.7296, allocations: 8 kB / 1.215 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/0.7324, allocations: 0.6642 MB / 1.216 GB, free: 9.566 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.7343, allocations: 399.6 kB / 1.216 GB, free: 9.176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007804/0.7422, allocations: 6.927 MB / 1.223 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.7441, allocations: 207.6 kB / 1.223 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.7442, allocations: 60.91 kB / 1.223 GB, free: 1.617 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.7442, allocations: 4 kB / 1.223 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003273/0.7475, allocations: 1.781 MB / 1.225 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7475, allocations: 8 kB / 1.225 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.7481, allocations: 221.9 kB / 1.225 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.7503, allocations: 435.3 kB / 1.226 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.7536, allocations: 3.683 MB / 1.229 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.7553, allocations: 191.7 kB / 1.23 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.7554, allocations: 59.97 kB / 1.23 GB, free: 11.01 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.0002638/0.7557, allocations: 126.5 kB / 1.23 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.7559, allocations: 75.16 kB / 1.23 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.7616, allocations: 2.349 MB / 1.232 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.7616, allocations: 8 kB / 1.232 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.7616, allocations: 8 kB / 1.232 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7617, allocations: 7.984 kB / 1.232 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007257/0.7689, allocations: 4.121 MB / 1.236 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.7689, allocations: 12.12 kB / 1.236 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.7705, allocations: 291.5 kB / 1.236 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/0.7734, allocations: 0.7856 MB / 1.237 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.7735, allocations: 23.97 kB / 1.237 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2132/0.9867, allocations: 7.911 MB / 1.245 GB, free: 293.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9868, allocations: 7.406 kB / 1.245 GB, free: 293.1 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004361/0.9912, allocations: 2.7 MB / 1.248 GB, free: 292.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.9916, allocations: 308.4 kB / 1.248 GB, free: 292.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.9918, allocations: 7.312 kB / 1.248 GB, free: 292.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.9935, allocations: 211.1 kB / 1.248 GB, free: 292.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.9936, allocations: 63.31 kB / 1.248 GB, free: 292.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/0.9937, allocations: 41.5 kB / 1.248 GB, free: 292.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002942/0.994, allocations: 332.8 kB / 1.249 GB, free: 292.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001443/0.9955, allocations: 440.5 kB / 1.249 GB, free: 292.1 MB / 0.8386 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.0001864/0.9957, allocations: 135 kB / 1.249 GB, free: 292 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004132/0.9998, allocations: 3.113 MB / 1.252 GB, free: 291.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9998, allocations: 2.344 kB / 1.252 GB, free: 291.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.001, allocations: 1.273 MB / 1.253 GB, free: 291.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/1.002, allocations: 83.48 kB / 1.253 GB, free: 291.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/1.009, allocations: 2.379 MB / 1.256 GB, free: 290.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/1.01, allocations: 1.132 MB / 1.257 GB, free: 289.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.01, allocations: 0 / 1.257 GB, free: 289.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.03365/1.043, allocations: 27.94 MB / 1.284 GB, free: 289 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)