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.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [: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.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009391/0.0009393, allocations: 173.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9899/0.9899, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007847/0.0007847, allocations: 88.06 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.013e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4041, allocations: 115.3 MB / 0.9637 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5578, allocations: 164.8 MB / 1.125 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.558, allocations: 92.5 kB / 1.125 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.2927/0.8507, allocations: 127.5 MB / 1.249 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002243/0.851, allocations: 87.92 kB / 1.249 GB, free: 6.617 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007101/0.8581, allocations: 2.925 MB / 1.252 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8582, allocations: 8.531 kB / 1.252 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.8643, allocations: 0.9787 MB / 1.253 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.8688, allocations: 2.268 MB / 1.255 GB, free: 328 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.8689, allocations: 108 kB / 1.255 GB, free: 220 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/0.8694, allocations: 187.9 kB / 1.256 GB, free: 32 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.22/1.089, allocations: 3.784 MB / 1.259 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/1.095, allocations: 5.28 MB / 1.264 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-05/1.095, allocations: 16.16 kB / 1.264 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/1.096, allocations: 11.72 kB / 1.264 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/1.096, allocations: 345.6 kB / 1.265 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/1.115, allocations: 28.71 MB / 1.293 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.117, allocations: 1.429 MB / 1.294 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.118, allocations: 1.512 MB / 1.296 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/1.118, allocations: 23.83 kB / 1.296 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/1.118, allocations: 40.84 kB / 1.296 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/1.118, allocations: 0 / 1.296 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.02958/1.148, allocations: 13.38 MB / 1.309 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/1.148, allocations: 71.89 kB / 1.309 GB, free: 252 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.149, allocations: 1.061 MB / 1.31 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.149, allocations: 25.7 kB / 1.31 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/1.149, allocations: 1.302 MB / 1.311 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/1.15, allocations: 0.5845 MB / 1.312 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.15, allocations: 0 / 1.312 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/1.15, allocations: 383.6 kB / 1.312 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.152, allocations: 1.855 MB / 1.314 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.154, allocations: 2.345 MB / 1.316 GB, free: 250 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/1.157, allocations: 2.433 MB / 1.319 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.157, allocations: 7.594 kB / 1.319 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01226/1.169, allocations: 7.679 MB / 1.326 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.169, allocations: 3.875 kB / 1.326 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.169, allocations: 22.48 kB / 1.326 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/1.181, allocations: 4.121 MB / 1.33 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.182, allocations: 279.3 kB / 1.33 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/1.205, allocations: 19.35 MB / 1.349 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.207, allocations: 76.75 kB / 1.349 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/1.208, allocations: 177.8 kB / 1.35 GB, free: 242.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.000463/1.208, allocations: 142 kB / 1.35 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/1.209, allocations: 186.8 kB / 1.35 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.222, allocations: 7.722 MB / 1.357 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.222, allocations: 21.28 kB / 1.357 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/1.222, allocations: 16.48 kB / 1.358 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.222, allocations: 8.531 kB / 1.358 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/1.241, allocations: 11.73 MB / 1.369 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.241, allocations: 4.875 kB / 1.369 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/1.241, allocations: 155.4 kB / 1.369 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/1.252, allocations: 4.037 MB / 1.373 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/1.252, allocations: 56.23 kB / 1.373 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/1.275, allocations: 18.92 MB / 1.392 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.275, allocations: 9.688 kB / 1.392 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01281/1.288, allocations: 7.928 MB / 1.399 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.289, allocations: 0.693 MB / 1.4 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005102/1.29, allocations: 9.547 kB / 1.4 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.291, allocations: 71.67 kB / 1.4 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/1.291, allocations: 142.5 kB / 1.4 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.291, allocations: 148.6 kB / 1.4 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0009544/1.292, allocations: 0.7989 MB / 1.401 GB, free: 220 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002463/1.295, allocations: 0.8195 MB / 1.402 GB, free: 219.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003608/1.295, allocations: 149.7 kB / 1.402 GB, free: 219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008644/1.304, allocations: 5.82 MB / 1.408 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.304, allocations: 1.5 kB / 1.408 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006121/1.31, allocations: 3.592 MB / 1.411 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.312, allocations: 398.8 kB / 1.412 GB, free: 210.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/1.321, allocations: 5.717 MB / 1.417 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002625/1.324, allocations: 2.787 MB / 1.42 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of SimCode: time 4.8e-07/1.324, allocations: 0 / 1.42 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.05282/1.377, allocations: 47.84 MB / 1.467 GB, free: 165.8 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)