Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [: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.331/1.331, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009282/0.0009282, allocations: 181.3 kB / 366.3 MB, free: 1.949 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.017/1.017, allocations: 205.2 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.0008267/0.0008266, allocations: 88.08 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.554e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3785, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5308, allocations: 171 MB / 1.14 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.531, allocations: 96.5 kB / 1.14 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.6104/1.141, allocations: 180.4 MB / 1.316 GB, free: 183.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001757/1.142, allocations: 132.8 kB / 1.316 GB, free: 183.4 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006398/1.148, allocations: 4.219 MB / 1.32 GB, free: 180.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/1.148, allocations: 7.438 kB / 1.32 GB, free: 180.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/1.153, allocations: 1.012 MB / 1.321 GB, free: 180.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/1.159, allocations: 3.235 MB / 1.324 GB, free: 178.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/1.159, allocations: 159.3 kB / 1.324 GB, free: 178.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/1.16, allocations: 276.2 kB / 1.325 GB, free: 178.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006772/1.166, allocations: 4.884 MB / 1.329 GB, free: 176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008879/1.175, allocations: 6.859 MB / 1.336 GB, free: 170.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.255e-05/1.175, allocations: 19.78 kB / 1.336 GB, free: 170.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/1.176, allocations: 16 kB / 1.336 GB, free: 170.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/1.176, allocations: 277.2 kB / 1.336 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/1.197, allocations: 35.34 MB / 1.371 GB, free: 132.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.2, allocations: 2.015 MB / 1.373 GB, free: 130.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.201, allocations: 1.442 MB / 1.374 GB, free: 128.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/1.201, allocations: 17.31 kB / 1.374 GB, free: 128.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/1.201, allocations: 59.81 kB / 1.374 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=157): time 3.236e-06/1.201, allocations: 0 / 1.374 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=160): time 0.006276/1.207, allocations: 4.87 MB / 1.379 GB, free: 123.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/1.207, allocations: 68.72 kB / 1.379 GB, free: 123.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.208, allocations: 1.252 MB / 1.38 GB, free: 122.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/1.209, allocations: 29.7 kB / 1.38 GB, free: 122.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/1.209, allocations: 1.797 MB / 1.382 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1.209, allocations: 0.539 MB / 1.383 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/1.209, allocations: 0 / 1.383 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/1.209, allocations: 390.1 kB / 1.383 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.21, allocations: 0.9843 MB / 1.384 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.212, allocations: 1.701 MB / 1.386 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.213, allocations: 1.287 MB / 1.387 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.213, allocations: 8 kB / 1.387 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004311/1.217, allocations: 3.582 MB / 1.391 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.217, allocations: 8.766 kB / 1.391 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.217, allocations: 24 kB / 1.391 GB, free: 111.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/1.219, allocations: 0.9018 MB / 1.391 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.221, allocations: 391.4 kB / 1.392 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.232, allocations: 19.68 MB / 1.411 GB, free: 89.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.234, allocations: 59.84 kB / 1.411 GB, free: 89.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.234, allocations: 95.94 kB / 1.411 GB, free: 89.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002852/1.234, allocations: 179 kB / 1.411 GB, free: 88.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.235, allocations: 233.3 kB / 1.412 GB, free: 88.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/1.239, allocations: 3.152 MB / 1.415 GB, free: 85.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.239, allocations: 12 kB / 1.415 GB, free: 85.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.239, allocations: 12 kB / 1.415 GB, free: 85.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.239, allocations: 7.969 kB / 1.415 GB, free: 85.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/1.247, allocations: 6.714 MB / 1.421 GB, free: 78.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.247, allocations: 4 kB / 1.421 GB, free: 78.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/1.248, allocations: 200.2 kB / 1.421 GB, free: 78.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.25, allocations: 0.8778 MB / 1.422 GB, free: 77.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/1.25, allocations: 8 kB / 1.422 GB, free: 77.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.262, allocations: 19.66 MB / 1.441 GB, free: 56.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.262, allocations: 7.938 kB / 1.442 GB, free: 56.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003955/1.266, allocations: 3.6 MB / 1.445 GB, free: 52.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/1.267, allocations: 0.4982 MB / 1.446 GB, free: 52.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/1.267, allocations: 11.98 kB / 1.446 GB, free: 52.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00089/1.268, allocations: 35.95 kB / 1.446 GB, free: 52.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.268, allocations: 93.17 kB / 1.446 GB, free: 51.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/1.268, allocations: 48 kB / 1.446 GB, free: 51.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0009054/1.269, allocations: 0.9139 MB / 1.447 GB, free: 50.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002144/1.271, allocations: 0.8203 MB / 1.447 GB, free: 50.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001999/1.272, allocations: 135.9 kB / 1.448 GB, free: 50.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004149/1.276, allocations: 4.014 MB / 1.451 GB, free: 45.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.276, allocations: 4 kB / 1.451 GB, free: 45.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.278, allocations: 2.717 MB / 1.454 GB, free: 43.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.281, allocations: 0.6255 MB / 1.455 GB, free: 42.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/1.29, allocations: 6.004 MB / 1.461 GB, free: 36.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/1.293, allocations: 3.371 MB / 1.464 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.293, allocations: 0 / 1.464 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.048/1.341, allocations: 37.78 MB / 1.501 GB, free: 11.48 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)