Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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: 0.6602 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000951/0.000951, allocations: 181.9 kB / 361.1 MB, free: 15.26 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9865/0.9865, allocations: 205.2 MB / 0.6195 GB, free: 5.793 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007823, allocations: 92.09 kB / 0.7325 GB, free: 47.33 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.104e-06, allocations: 3.938 kB / 0.8511 GB, free: 12.69 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4107, allocations: 115.3 MB / 0.9637 GB, free: 85.32 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5682, allocations: 170.1 MB / 1.13 GB, free: 11.11 MB / 0.7371 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5684, allocations: 91.94 kB / 1.13 GB, free: 11.02 MB / 0.7371 GB Notification: Performance of FrontEnd: time 0.6698/1.238, allocations: 178.4 MB / 1.304 GB, free: 160.5 MB / 0.8621 GB Notification: Performance of Transformations before backend: time 0.0001603/1.238, allocations: 118.9 kB / 1.304 GB, free: 160.5 MB / 0.8621 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006363/1.245, allocations: 3.895 MB / 1.308 GB, free: 158.9 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/1.245, allocations: 7.094 kB / 1.308 GB, free: 158.9 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/1.25, allocations: 0.9308 MB / 1.309 GB, free: 158.6 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/1.254, allocations: 3.003 MB / 1.312 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/1.254, allocations: 147.4 kB / 1.312 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005077/1.255, allocations: 277.1 kB / 1.312 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0058/1.26, allocations: 4.694 MB / 1.317 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/1.268, allocations: 6.7 MB / 1.323 GB, free: 156.7 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/1.268, allocations: 25.25 kB / 1.323 GB, free: 156.7 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/1.268, allocations: 10.03 kB / 1.323 GB, free: 156.7 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/1.268, allocations: 296.9 kB / 1.324 GB, free: 156.7 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/1.29, allocations: 34.21 MB / 1.357 GB, free: 133.3 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.291, allocations: 1.5 MB / 1.359 GB, free: 133.3 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.292, allocations: 1.307 MB / 1.36 GB, free: 133.2 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 8.11e-05/1.292, allocations: 13.81 kB / 1.36 GB, free: 133.2 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.293, allocations: 47.12 kB / 1.36 GB, free: 133.2 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=133): time 3.276e-06/1.293, allocations: 0 / 1.36 GB, free: 133.2 MB / 0.8621 GB Notification: Performance of matching and sorting (n=136): time 0.007377/1.3, allocations: 4.577 MB / 1.364 GB, free: 132.2 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/1.3, allocations: 68.78 kB / 1.364 GB, free: 132.2 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.301, allocations: 1.064 MB / 1.366 GB, free: 132 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/1.301, allocations: 25.7 kB / 1.366 GB, free: 132 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/1.302, allocations: 1.756 MB / 1.367 GB, free: 130.9 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/1.302, allocations: 466 kB / 1.368 GB, free: 130.6 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/1.302, allocations: 0 / 1.368 GB, free: 130.6 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/1.302, allocations: 379.2 kB / 1.368 GB, free: 130.3 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009314/1.303, allocations: 0.9017 MB / 1.369 GB, free: 130.3 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.304, allocations: 1.553 MB / 1.37 GB, free: 129.4 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.305, allocations: 1.171 MB / 1.372 GB, free: 129.4 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.305, allocations: 5.875 kB / 1.372 GB, free: 129.4 MB / 0.8621 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004699/1.31, allocations: 3.363 MB / 1.375 GB, free: 129 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.31, allocations: 2.812 kB / 1.375 GB, free: 129 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.31, allocations: 26.56 kB / 1.375 GB, free: 129 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.313, allocations: 0.9555 MB / 1.376 GB, free: 128.9 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.314, allocations: 339.6 kB / 1.376 GB, free: 128.9 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.327, allocations: 19.75 MB / 1.395 GB, free: 114.3 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.328, allocations: 43.14 kB / 1.396 GB, free: 114.3 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.328, allocations: 91.41 kB / 1.396 GB, free: 114.3 MB / 0.8621 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(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.0002432/1.329, allocations: 171.1 kB / 1.396 GB, free: 114.2 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.329, allocations: 191.6 kB / 1.396 GB, free: 114.1 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/1.333, allocations: 2.982 MB / 1.399 GB, free: 113.8 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.333, allocations: 13.03 kB / 1.399 GB, free: 113.8 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.333, allocations: 10.62 kB / 1.399 GB, free: 113.8 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.333, allocations: 7.781 kB / 1.399 GB, free: 113.8 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009445/1.343, allocations: 6.198 MB / 1.405 GB, free: 113.2 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.343, allocations: 5.312 kB / 1.405 GB, free: 113.2 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/1.344, allocations: 153.4 kB / 1.405 GB, free: 113.2 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/1.346, allocations: 0.9379 MB / 1.406 GB, free: 113.1 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/1.346, allocations: 5.312 kB / 1.406 GB, free: 113.1 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.36, allocations: 19.75 MB / 1.425 GB, free: 95.28 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.36, allocations: 7.5 kB / 1.425 GB, free: 95.28 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004423/1.364, allocations: 3.396 MB / 1.429 GB, free: 92.91 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/1.365, allocations: 451.4 kB / 1.429 GB, free: 92.59 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/1.365, allocations: 7.188 kB / 1.429 GB, free: 92.59 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/1.366, allocations: 33.84 kB / 1.429 GB, free: 92.57 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.366, allocations: 78.22 kB / 1.429 GB, free: 92.53 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/1.366, allocations: 37.94 kB / 1.429 GB, free: 92.5 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.0008396/1.367, allocations: 0.7837 MB / 1.43 GB, free: 92.03 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.002382/1.369, allocations: 0.7344 MB / 1.431 GB, free: 91.29 MB / 0.8621 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 (85): * Single equations (assignments): 73 * 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%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/1.37, allocations: 125.5 kB / 1.431 GB, free: 91.16 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.004193/1.374, allocations: 3.79 MB / 1.434 GB, free: 88.29 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.374, allocations: 4 kB / 1.435 GB, free: 88.29 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/1.377, allocations: 2.606 MB / 1.437 GB, free: 85.8 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.379, allocations: 0.5738 MB / 1.438 GB, free: 85.38 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/1.388, allocations: 5.658 MB / 1.443 GB, free: 80.2 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/1.391, allocations: 3.25 MB / 1.446 GB, free: 77.55 MB / 0.8621 GB Notification: Performance of SimCode: time 4.71e-07/1.391, allocations: 0 / 1.446 GB, free: 77.55 MB / 0.8621 GB Notification: Performance of Templates: time 0.04245/1.433, allocations: 33.4 MB / 1.479 GB, free: 44.89 MB / 0.8621 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)