Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") [: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.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.000921/0.000921, allocations: 173.3 kB / 366.3 MB, free: 1.938 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.012/1.012, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0007762/0.0007762, allocations: 90.05 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.731e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3899, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5616, allocations: 187.4 MB / 1.156 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.5619, allocations: 95.94 kB / 1.156 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.4972/1.059, allocations: 97.52 MB / 1.251 GB, free: 165 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.407e-05/1.059, allocations: 50.78 kB / 1.251 GB, free: 165 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.003313/1.063, allocations: 2.28 MB / 1.253 GB, free: 164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/1.063, allocations: 7.25 kB / 1.253 GB, free: 164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009365/1.072, allocations: 1.494 MB / 1.255 GB, free: 163.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/1.074, allocations: 1.609 MB / 1.256 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/1.074, allocations: 88.16 kB / 1.256 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/1.075, allocations: 152.5 kB / 1.256 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004892/1.08, allocations: 3.957 MB / 1.26 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/1.085, allocations: 4.245 MB / 1.264 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/1.085, allocations: 0 / 1.264 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/1.085, allocations: 3.75 kB / 1.264 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/1.085, allocations: 185.5 kB / 1.265 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/1.101, allocations: 20.76 MB / 1.285 GB, free: 151.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.103, allocations: 1.85 MB / 1.287 GB, free: 151.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/1.104, allocations: 1.465 MB / 1.288 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/1.104, allocations: 119 kB / 1.288 GB, free: 151.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/1.104, allocations: 57.28 kB / 1.288 GB, free: 151.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=139): time 2.976e-06/1.104, allocations: 0 / 1.288 GB, free: 151.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=181): time 0.01207/1.116, allocations: 7.822 MB / 1.296 GB, free: 149.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.116, allocations: 222.7 kB / 1.296 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/1.117, allocations: 0.8551 MB / 1.297 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.117, allocations: 25.7 kB / 1.297 GB, free: 149.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.118, allocations: 1.048 MB / 1.298 GB, free: 148.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/1.118, allocations: 0.5926 MB / 1.299 GB, free: 148.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.118, allocations: 0 / 1.299 GB, free: 148.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.118, allocations: 434 kB / 1.299 GB, free: 147.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.12, allocations: 1.44 MB / 1.3 GB, free: 147.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/1.122, allocations: 1.996 MB / 1.302 GB, free: 147.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/1.125, allocations: 2.06 MB / 1.304 GB, free: 147 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.125, allocations: 6.031 kB / 1.304 GB, free: 147 MB / 0.8386 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008753/1.134, allocations: 4.69 MB / 1.309 GB, free: 146.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009087/1.135, allocations: 6.687 MB / 1.316 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/1.135, allocations: 17.56 kB / 1.316 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.137, allocations: 1.01 MB / 1.317 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/1.141, allocations: 0.631 MB / 1.317 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/1.151, allocations: 9.389 MB / 1.326 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.154, allocations: 287.7 kB / 1.327 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/1.154, allocations: 113.8 kB / 1.327 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/1.154, allocations: 1.969 kB / 1.327 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007289/1.162, allocations: 4.406 MB / 1.331 GB, free: 136.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.162, allocations: 19.83 kB / 1.331 GB, free: 136.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.164, allocations: 0.8646 MB / 1.332 GB, free: 136 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.167, allocations: 0.6315 MB / 1.332 GB, free: 135.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.178, allocations: 9.001 MB / 1.341 GB, free: 129.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.18, allocations: 286.4 kB / 1.342 GB, free: 129.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.18, allocations: 109.7 kB / 1.342 GB, free: 129.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 30,(6,80.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004399/1.181, allocations: 163.7 kB / 1.342 GB, free: 129.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/1.181, allocations: 122.6 kB / 1.342 GB, free: 129.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006922/1.188, allocations: 4.474 MB / 1.346 GB, free: 127.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.188, allocations: 20 kB / 1.346 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.188, allocations: 12 kB / 1.346 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.188, allocations: 7.031 kB / 1.346 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/1.198, allocations: 7.342 MB / 1.354 GB, free: 123 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.198, allocations: 4 kB / 1.354 GB, free: 123 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.2, allocations: 429.4 kB / 1.354 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/1.202, allocations: 0.8635 MB / 1.355 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.202, allocations: 33.97 kB / 1.355 GB, free: 122 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008788/1.211, allocations: 8.811 MB / 1.363 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.211, allocations: 8 kB / 1.363 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005239/1.216, allocations: 4.225 MB / 1.368 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/1.217, allocations: 0.5308 MB / 1.368 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/1.217, allocations: 9.453 kB / 1.368 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.219, allocations: 264.3 kB / 1.368 GB, free: 109.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.22, allocations: 100.8 kB / 1.368 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.22, allocations: 66.5 kB / 1.368 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006893/1.221, allocations: 0.6723 MB / 1.369 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002884/1.223, allocations: 1.044 MB / 1.37 GB, free: 107.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002363/1.224, allocations: 135.5 kB / 1.37 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007976/1.232, allocations: 6.202 MB / 1.376 GB, free: 101.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.232, allocations: 4.688 kB / 1.376 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/1.234, allocations: 1.932 MB / 1.378 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/1.235, allocations: 129.6 kB / 1.378 GB, free: 100 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.249, allocations: 5.578 MB / 1.384 GB, free: 95.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/1.251, allocations: 2.351 MB / 1.386 GB, free: 93.33 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.251, allocations: 0 / 1.386 GB, free: 93.33 MB / 0.8386 GB Notification: Performance of Templates: time 0.05308/1.305, allocations: 52.27 MB / 1.437 GB, free: 42.66 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)