Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [: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.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009596/0.0009597, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.6195 GB, free: 10.3 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.0008033/0.0008033, allocations: 98.06 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.553e-06/6.563e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4059, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5674, allocations: 178.8 MB / 1.138 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5676, allocations: 96.83 kB / 1.138 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2234/0.7911, allocations: 99.43 MB / 1.235 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.951e-05/0.7912, allocations: 55.94 kB / 1.236 GB, free: 4.938 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005499/0.7967, allocations: 2.263 MB / 1.238 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7967, allocations: 8.031 kB / 1.238 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/0.8003, allocations: 0.5629 MB / 1.238 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.8029, allocations: 1.482 MB / 1.24 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.803, allocations: 92 kB / 1.24 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.8034, allocations: 156 kB / 1.24 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005303/0.8087, allocations: 3.358 MB / 1.243 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.8145, allocations: 3.928 MB / 1.247 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.8146, allocations: 4 kB / 1.247 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.8148, allocations: 0 / 1.247 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.815, allocations: 148.6 kB / 1.247 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/1.118, allocations: 19.79 MB / 1.267 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/1.119, allocations: 1.089 MB / 1.268 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008185/1.12, allocations: 0.7846 MB / 1.268 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/1.12, allocations: 106.6 kB / 1.268 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/1.12, allocations: 43.72 kB / 1.269 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 2.385e-06/1.12, allocations: 0 / 1.269 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.006575/1.126, allocations: 3.952 MB / 1.272 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/1.127, allocations: 140.3 kB / 1.273 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/1.127, allocations: 0.8585 MB / 1.273 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/1.127, allocations: 25.7 kB / 1.273 GB, free: 162 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/1.128, allocations: 1.145 MB / 1.275 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.128, allocations: 316.2 kB / 1.275 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/1.128, allocations: 0 / 1.275 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/1.128, allocations: 404 kB / 1.275 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/1.129, allocations: 0.8704 MB / 1.276 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.13, allocations: 1.507 MB / 1.278 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.132, allocations: 1.47 MB / 1.279 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.132, allocations: 7.875 kB / 1.279 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003749/1.136, allocations: 2.651 MB / 1.282 GB, free: 160 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/1.137, allocations: 8.339 MB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.137, allocations: 22.5 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/1.137, allocations: 35.78 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.14, allocations: 0.5052 MB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/1.14, allocations: 46.81 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/1.141, allocations: 86.89 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.141, allocations: 90.08 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/1.141, allocations: 3.969 kB / 1.29 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/1.144, allocations: 2.51 MB / 1.293 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.144, allocations: 24.08 kB / 1.293 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.144, allocations: 37.5 kB / 1.293 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.147, allocations: 0.4963 MB / 1.293 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.147, allocations: 48.94 kB / 1.293 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/1.147, allocations: 74.7 kB / 1.294 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.148, allocations: 91.25 kB / 1.294 GB, free: 151.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/1.148, allocations: 162.2 kB / 1.294 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.148, allocations: 97.47 kB / 1.294 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/1.151, allocations: 1.962 MB / 1.296 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.151, allocations: 13.44 kB / 1.296 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.151, allocations: 3.656 kB / 1.296 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.151, allocations: 6.984 kB / 1.296 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.164, allocations: 15.3 MB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.164, allocations: 23.53 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/1.164, allocations: 194.9 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/1.164, allocations: 26.06 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/1.165, allocations: 28.38 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/1.165, allocations: 38.09 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/1.165, allocations: 38.09 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002039/1.167, allocations: 3.104 MB / 1.314 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/1.167, allocations: 340.1 kB / 1.314 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.167, allocations: 32.88 kB / 1.315 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/1.168, allocations: 59.72 kB / 1.315 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.168, allocations: 111.6 kB / 1.315 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.168, allocations: 53.02 kB / 1.315 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006021/1.169, allocations: 0.6868 MB / 1.315 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002541/1.171, allocations: 0.796 MB / 1.316 GB, free: 142.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/1.172, allocations: 186.4 kB / 1.316 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002949/1.175, allocations: 3.018 MB / 1.319 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.175, allocations: 3.656 kB / 1.319 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005728/1.175, allocations: 0.629 MB / 1.32 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/1.176, allocations: 161.4 kB / 1.32 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/1.182, allocations: 4.138 MB / 1.324 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.184, allocations: 2.27 MB / 1.326 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.184, allocations: 0 / 1.326 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.02906/1.213, allocations: 23.56 MB / 1.349 GB, free: 139.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)