Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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.318/1.318, allocations: 285.5 MB / 292.8 MB, free: 9.832 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.0008894/0.0008894, allocations: 189.2 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 96.2 kB / 0.7326 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.221e-06, allocations: 1.438 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5958, allocations: 206.2 MB / 1.165 GB, free: 28.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5961, allocations: 94.17 kB / 1.165 GB, free: 28.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1799/0.7759, allocations: 83.49 MB / 1.247 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001065/0.7761, allocations: 43.94 kB / 1.247 GB, free: 14.36 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003408/0.7795, allocations: 1.596 MB / 1.248 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.7795, allocations: 8.031 kB / 1.248 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.7901, allocations: 1.516 MB / 1.25 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.7927, allocations: 1.238 MB / 1.251 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.7927, allocations: 36 kB / 1.251 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.7931, allocations: 72 kB / 1.251 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002882/0.796, allocations: 1.754 MB / 1.253 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.7991, allocations: 2.118 MB / 1.255 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.7991, allocations: 7.938 kB / 1.255 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.7993, allocations: 4 kB / 1.255 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/0.7994, allocations: 86.28 kB / 1.255 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.8135, allocations: 10.33 MB / 1.265 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.8158, allocations: 1.656 MB / 1.267 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.8169, allocations: 0.9051 MB / 1.268 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.8169, allocations: 12.78 kB / 1.268 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.817, allocations: 47.34 kB / 1.268 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 2.545e-06/0.817, allocations: 0 / 1.268 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=131): time 0.01284/0.8298, allocations: 5.807 MB / 1.273 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.8299, allocations: 218.9 kB / 1.274 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/0.8308, allocations: 0.7624 MB / 1.274 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8309, allocations: 25.7 kB / 1.274 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.8312, allocations: 0.523 MB / 1.275 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.8316, allocations: 433.4 kB / 1.275 GB, free: 344 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.8317, allocations: 3.938 kB / 1.275 GB, free: 340 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8318, allocations: 353.9 kB / 1.276 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.833, allocations: 0.971 MB / 1.276 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.8344, allocations: 1.219 MB / 1.278 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.836, allocations: 1.115 MB / 1.279 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8361, allocations: 0 / 1.279 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007997/0.8441, allocations: 3.684 MB / 1.282 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8441, allocations: 4 kB / 1.282 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8441, allocations: 4 kB / 1.282 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006634/0.8507, allocations: 1.576 MB / 1.284 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.8527, allocations: 359.5 kB / 1.284 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/0.8757, allocations: 23.32 MB / 1.307 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.8781, allocations: 203.7 kB / 1.307 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.8783, allocations: 63.91 kB / 1.307 GB, free: 13.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003208/0.8786, allocations: 128.7 kB / 1.307 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.8789, allocations: 158.2 kB / 1.308 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/0.8876, allocations: 3.794 MB / 1.311 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.8876, allocations: 12 kB / 1.311 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.8876, allocations: 12 kB / 1.311 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.8876, allocations: 3.984 kB / 1.311 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.8992, allocations: 6.02 MB / 1.317 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8992, allocations: 3.938 kB / 1.317 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/0.901, allocations: 311.7 kB / 1.317 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/0.9071, allocations: 1.47 MB / 1.319 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.9072, allocations: 19.97 kB / 1.319 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/0.9299, allocations: 22.35 MB / 1.341 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.93, allocations: 7.938 kB / 1.341 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008051/0.938, allocations: 3.661 MB / 1.344 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.9391, allocations: 455.2 kB / 1.345 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/0.9395, allocations: 4 kB / 1.345 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.9417, allocations: 203.7 kB / 1.345 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.9419, allocations: 72.8 kB / 1.345 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.942, allocations: 51.97 kB / 1.345 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008899/0.9429, allocations: 0.5723 MB / 1.346 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002185/0.9451, allocations: 0.5156 MB / 1.346 GB, free: 4.055 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003372/0.9455, allocations: 144.1 kB / 1.346 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006545/0.952, allocations: 4.053 MB / 1.35 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.952, allocations: 128 / 1.35 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.9568, allocations: 2.857 MB / 1.353 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.9588, allocations: 421 kB / 1.353 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.9657, allocations: 2.928 MB / 1.356 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/0.9674, allocations: 1.561 MB / 1.358 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.9674, allocations: 0 / 1.358 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.05346/1.021, allocations: 39.02 MB / 1.396 GB, free: 1 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)