Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [: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.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.000962/0.000962, allocations: 177.3 kB / 366.3 MB, free: 1.957 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.015/1.015, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0007848/0.0007847, allocations: 86.11 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5411, allocations: 168.5 MB / 1.137 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5414, allocations: 87.94 kB / 1.137 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1597/0.7012, allocations: 71.61 MB / 1.207 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.243e-05/0.7013, allocations: 35.98 kB / 1.207 GB, free: 3.52 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003261/0.7046, allocations: 1.639 MB / 1.209 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.7046, allocations: 8.031 kB / 1.209 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.7074, allocations: 473.2 kB / 1.209 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.7095, allocations: 1.306 MB / 1.21 GB, free: 4 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.7096, allocations: 51.95 kB / 1.211 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.7099, allocations: 84 kB / 1.211 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003402/0.7133, allocations: 2.349 MB / 1.213 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.7173, allocations: 2.967 MB / 1.216 GB, free: 10.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.7174, allocations: 3.984 kB / 1.216 GB, free: 10.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.7176, allocations: 4 kB / 1.216 GB, free: 10.42 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005313/0.7181, allocations: 183 kB / 1.216 GB, free: 10.24 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.7365, allocations: 14.71 MB / 1.23 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.7387, allocations: 1.737 MB / 1.232 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.7406, allocations: 1.546 MB / 1.234 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.7406, allocations: 16.98 kB / 1.234 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.7406, allocations: 51.55 kB / 1.234 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.7407, allocations: 3.938 kB / 1.234 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183): time 0.3206/1.061, allocations: 14.14 MB / 1.247 GB, free: 174.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/1.061, allocations: 70.44 kB / 1.247 GB, free: 174.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.062, allocations: 1.004 MB / 1.248 GB, free: 174.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.062, allocations: 25.7 kB / 1.248 GB, free: 174.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/1.063, allocations: 0.6699 MB / 1.249 GB, free: 174.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/1.063, allocations: 0.5931 MB / 1.25 GB, free: 174.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.063, allocations: 0 / 1.25 GB, free: 174.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/1.063, allocations: 387.7 kB / 1.25 GB, free: 173.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/1.065, allocations: 2.147 MB / 1.252 GB, free: 173.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/1.068, allocations: 2.474 MB / 1.255 GB, free: 173.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/1.072, allocations: 2.927 MB / 1.257 GB, free: 173.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.072, allocations: 3.469 kB / 1.257 GB, free: 173.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01484/1.087, allocations: 8.781 MB / 1.266 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.087, allocations: 4.719 kB / 1.266 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.087, allocations: 13.38 kB / 1.266 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/1.1, allocations: 4.982 MB / 1.271 GB, free: 173.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/1.101, allocations: 241.3 kB / 1.271 GB, free: 173.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/1.128, allocations: 21.57 MB / 1.292 GB, free: 169.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.13, allocations: 74.7 kB / 1.292 GB, free: 169.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004471/1.13, allocations: 262.3 kB / 1.293 GB, free: 169.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004067/1.13, allocations: 130 kB / 1.293 GB, free: 169.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/1.131, allocations: 134.2 kB / 1.293 GB, free: 169.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.145, allocations: 8.344 MB / 1.301 GB, free: 168.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.145, allocations: 18.44 kB / 1.301 GB, free: 168.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.145, allocations: 22.09 kB / 1.301 GB, free: 168.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.145, allocations: 11.34 kB / 1.301 GB, free: 168.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/1.163, allocations: 12.76 MB / 1.313 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.163, allocations: 4 kB / 1.313 GB, free: 163.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/1.164, allocations: 114.4 kB / 1.314 GB, free: 163.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01291/1.177, allocations: 4.771 MB / 1.318 GB, free: 160.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/1.177, allocations: 64.36 kB / 1.318 GB, free: 160.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02474/1.202, allocations: 18.49 MB / 1.336 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.202, allocations: 6.719 kB / 1.336 GB, free: 148.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01272/1.215, allocations: 7.907 MB / 1.344 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.216, allocations: 0.835 MB / 1.345 GB, free: 139.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/1.216, allocations: 4 kB / 1.345 GB, free: 139.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.217, allocations: 47.88 kB / 1.345 GB, free: 139.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.218, allocations: 153.3 kB / 1.345 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.218, allocations: 183.9 kB / 1.345 GB, free: 139.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007168/1.219, allocations: 0.7724 MB / 1.346 GB, free: 138.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001956/1.221, allocations: 0.6627 MB / 1.347 GB, free: 137.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003017/1.221, allocations: 123 kB / 1.347 GB, free: 137.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007118/1.228, allocations: 5.738 MB / 1.352 GB, free: 131.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.228, allocations: 2.25 kB / 1.352 GB, free: 131.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005369/1.233, allocations: 3.386 MB / 1.356 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/1.234, allocations: 158 kB / 1.356 GB, free: 128.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.241, allocations: 4.385 MB / 1.36 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.243, allocations: 1.908 MB / 1.362 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.243, allocations: 0 / 1.362 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.05976/1.302, allocations: 58.27 MB / 1.419 GB, free: 64.64 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)