Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.128/2.128, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 189.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 82.75 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.386e-06/8.526e-06, allocations: 0 / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.536, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.7986, allocations: 184 MB / 1.142 GB, free: 4.707 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.799, allocations: 95.69 kB / 1.143 GB, free: 4.617 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.317/2.116, allocations: 265.7 MB / 1.402 GB, free: 116 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004859/2.116, allocations: 151.2 kB / 1.402 GB, free: 115.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01922/2.135, allocations: 4.709 MB / 1.407 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/2.135, allocations: 8.031 kB / 1.407 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/2.153, allocations: 1.42 MB / 1.408 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/2.169, allocations: 4.192 MB / 1.412 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/2.169, allocations: 160 kB / 1.412 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/2.171, allocations: 307.8 kB / 1.413 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01745/2.189, allocations: 5.761 MB / 1.418 GB, free: 99.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/2.212, allocations: 7.722 MB / 1.426 GB, free: 91.51 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/2.212, allocations: 23.78 kB / 1.426 GB, free: 91.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/2.213, allocations: 12 kB / 1.426 GB, free: 91.47 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003624/2.214, allocations: 345.9 kB / 1.426 GB, free: 91.13 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06311/2.277, allocations: 39.1 MB / 1.464 GB, free: 49.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/2.282, allocations: 2.556 MB / 1.467 GB, free: 46.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/2.287, allocations: 2.508 MB / 1.469 GB, free: 43.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/2.288, allocations: 26.09 kB / 1.469 GB, free: 43.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/2.288, allocations: 64.66 kB / 1.469 GB, free: 43.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.8e-06/2.288, allocations: 0 / 1.469 GB, free: 43.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1209/2.409, allocations: 27.94 MB / 1.497 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/2.409, allocations: 94.73 kB / 1.497 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/2.412, allocations: 1.641 MB / 1.498 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009486/2.413, allocations: 25.7 kB / 1.498 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/2.414, allocations: 1.902 MB / 1.5 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/2.416, allocations: 1.378 MB / 1.502 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/2.416, allocations: 0 / 1.502 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002741/2.416, allocations: 487.3 kB / 1.502 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006327/2.423, allocations: 2.742 MB / 1.505 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006889/2.43, allocations: 3.679 MB / 1.508 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/2.437, allocations: 3.363 MB / 1.512 GB, free: 72 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/2.437, allocations: 8 kB / 1.512 GB, free: 64 kB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04873/2.486, allocations: 11.38 MB / 1.523 GB, free: 4.664 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/2.486, allocations: 8.25 kB / 1.523 GB, free: 4.656 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.514e-05/2.486, allocations: 28 kB / 1.523 GB, free: 4.629 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03504/2.521, allocations: 4.963 MB / 1.528 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/2.525, allocations: 491.2 kB / 1.528 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1257/2.651, allocations: 59.69 MB / 1.586 GB, free: 0.7227 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006022/2.657, allocations: 63.94 kB / 1.586 GB, free: 0.6602 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007471/2.658, allocations: 172 kB / 1.587 GB, free: 0.4922 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001173/2.659, allocations: 187.9 kB / 1.587 GB, free: 308 kB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/2.66, allocations: 371.9 kB / 1.587 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04833/2.709, allocations: 11.24 MB / 1.598 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.725e-05/2.709, allocations: 40 kB / 1.598 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.46e-05/2.709, allocations: 52 kB / 1.598 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.993e-05/2.709, allocations: 19.92 kB / 1.598 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06373/2.773, allocations: 16.73 MB / 1.615 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/2.773, allocations: 8.938 kB / 1.615 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/2.776, allocations: 279.6 kB / 1.615 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3494/3.125, allocations: 4.442 MB / 1.619 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008582/3.126, allocations: 17.61 kB / 1.619 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1031/3.229, allocations: 57.23 MB / 1.675 GB, free: 296 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/3.229, allocations: 14.84 kB / 1.675 GB, free: 296 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04785/3.277, allocations: 15.08 MB / 1.69 GB, free: 294.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/3.281, allocations: 0.9466 MB / 1.691 GB, free: 294 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/3.282, allocations: 18.41 kB / 1.691 GB, free: 294 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/3.286, allocations: 70.61 kB / 1.691 GB, free: 294 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007169/3.287, allocations: 214 kB / 1.691 GB, free: 294 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000443/3.287, allocations: 103.6 kB / 1.691 GB, free: 294 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002347/3.29, allocations: 1.199 MB / 1.692 GB, free: 293.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007572/3.297, allocations: 1.431 MB / 1.694 GB, free: 293.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/3.298, allocations: 150.7 kB / 1.694 GB, free: 293.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02984/3.328, allocations: 10.53 MB / 1.704 GB, free: 291.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/3.328, allocations: 2.875 kB / 1.704 GB, free: 291.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02186/3.35, allocations: 7.028 MB / 1.711 GB, free: 288.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/3.357, allocations: 0.8443 MB / 1.712 GB, free: 288.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/3.388, allocations: 10.1 MB / 1.722 GB, free: 286.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008081/3.396, allocations: 4.09 MB / 1.726 GB, free: 285.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/3.396, allocations: 0 / 1.726 GB, free: 285.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.2188/3.615, allocations: 92.83 MB / 1.816 GB, free: 266.9 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)