Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.341/1.341, allocations: 289.8 MB / 297.1 MB, free: 9.027 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.0009109/0.0009108, allocations: 172.2 kB / 366.3 MB, free: 11.33 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.042/1.042, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000793/0.000793, allocations: 96.38 kB / 0.7396 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.272e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 116.3 MB / 0.9726 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5894, allocations: 180.7 MB / 1.149 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5896, allocations: 91.62 kB / 1.149 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1013/0.6909, allocations: 44.05 MB / 1.192 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.064e-05/0.691, allocations: 16 kB / 1.192 GB, free: 15.91 MB / 0.7292 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.002006/0.693, allocations: 0.9161 MB / 1.193 GB, free: 15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6931, allocations: 12.03 kB / 1.193 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008781/0.7019, allocations: 1.184 MB / 1.194 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.703, allocations: 0.5495 MB / 1.195 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.703, allocations: 20 kB / 1.195 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.7033, allocations: 40 kB / 1.195 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002156/0.7054, allocations: 1.27 MB / 1.196 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.7073, allocations: 1.29 MB / 1.197 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.7074, allocations: 0 / 1.197 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.7075, allocations: 4 kB / 1.197 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.7077, allocations: 103.8 kB / 1.197 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008614/0.7163, allocations: 6.255 MB / 1.203 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.7175, allocations: 0.9213 MB / 1.204 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.7183, allocations: 0.5669 MB / 1.205 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.7208, allocations: 2.218 MB / 1.207 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.7209, allocations: 49.25 kB / 1.207 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.615e-06/0.7209, allocations: 0 / 1.207 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.008555/0.7294, allocations: 3.577 MB / 1.211 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.7295, allocations: 199.6 kB / 1.211 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.73, allocations: 436.8 kB / 1.211 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.7301, allocations: 29.64 kB / 1.211 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.7303, allocations: 356.8 kB / 1.212 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.7306, allocations: 310.4 kB / 1.212 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.7307, allocations: 3.938 kB / 1.212 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7308, allocations: 385.5 kB / 1.212 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.7317, allocations: 0.6456 MB / 1.213 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7327, allocations: 0.9137 MB / 1.214 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.7344, allocations: 0.874 MB / 1.215 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.7344, allocations: 4 kB / 1.215 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005407/0.7398, allocations: 2.396 MB / 1.217 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.741, allocations: 3.135 MB / 1.22 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.741, allocations: 8 kB / 1.22 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.744, allocations: 0.6676 MB / 1.221 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.746, allocations: 396.1 kB / 1.221 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.7542, allocations: 6.924 MB / 1.228 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.7561, allocations: 203.7 kB / 1.228 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.7563, allocations: 55.97 kB / 1.228 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.7563, allocations: 4 kB / 1.228 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003392/0.7597, allocations: 1.781 MB / 1.23 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.7597, allocations: 8 kB / 1.23 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.7603, allocations: 217.9 kB / 1.23 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.7625, allocations: 435.3 kB / 1.23 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.766, allocations: 3.68 MB / 1.234 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.7677, allocations: 195.7 kB / 1.234 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.7678, allocations: 55.97 kB / 1.234 GB, free: 7.734 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.0002514/0.7681, allocations: 128.7 kB / 1.234 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.7684, allocations: 79.14 kB / 1.235 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/0.7742, allocations: 2.338 MB / 1.237 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.7742, allocations: 16 kB / 1.237 GB, free: 5.145 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.7742, allocations: 4 kB / 1.237 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.7742, allocations: 7.891 kB / 1.237 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/0.7819, allocations: 4.121 MB / 1.241 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7819, allocations: 4 kB / 1.241 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.7836, allocations: 299.5 kB / 1.241 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.7867, allocations: 0.7914 MB / 1.242 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.7868, allocations: 27.97 kB / 1.242 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008739/0.7955, allocations: 7.911 MB / 1.25 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.7955, allocations: 12 kB / 1.25 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005287/0.8008, allocations: 2.695 MB / 1.252 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.8014, allocations: 312.1 kB / 1.253 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.8016, allocations: 11.91 kB / 1.253 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.8035, allocations: 207.7 kB / 1.253 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.8037, allocations: 63.77 kB / 1.253 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.8038, allocations: 39.97 kB / 1.253 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003851/0.8042, allocations: 334.9 kB / 1.253 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001757/0.8059, allocations: 432 kB / 1.254 GB, free: 3.066 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.0002386/0.8062, allocations: 139.3 kB / 1.254 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005267/0.8115, allocations: 3.107 MB / 1.257 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8115, allocations: 4.188 kB / 1.257 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.8135, allocations: 1.272 MB / 1.258 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.8141, allocations: 81.84 kB / 1.258 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.8229, allocations: 2.379 MB / 1.26 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.8241, allocations: 1.136 MB / 1.262 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of SimCode: time 4.71e-07/0.8241, allocations: 0 / 1.262 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.03935/0.8635, allocations: 27.96 MB / 1.289 GB, free: 14.75 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)