Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [: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 10.0.0-master/package.mo): time 1.689/1.689, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 190.7 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.048/1.048, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 92.61 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.49e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1633, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.6269, allocations: 178.6 MB / 1.386 GB, free: 16.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.6272, allocations: 91.88 kB / 1.386 GB, free: 16.71 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05914/0.6863, allocations: 30.63 MB / 1.416 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.6863, allocations: 23.94 kB / 1.416 GB, free: 12.36 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001137/0.6875, allocations: 0.7451 MB / 1.417 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.6875, allocations: 8.031 kB / 1.417 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6886, allocations: 179 kB / 1.417 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.6891, allocations: 378.1 kB / 1.417 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6891, allocations: 16 kB / 1.417 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.6892, allocations: 28 kB / 1.417 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006663/0.6899, allocations: 487.5 kB / 1.418 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.6907, allocations: 0.7234 MB / 1.418 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.6908, allocations: 15.83 kB / 1.418 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.6908, allocations: 4 kB / 1.418 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.6909, allocations: 48.62 kB / 1.419 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.6943, allocations: 4.401 MB / 1.423 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.695, allocations: 0.5212 MB / 1.423 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.6953, allocations: 264.8 kB / 1.424 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.6954, allocations: 19.41 kB / 1.424 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.6954, allocations: 37.44 kB / 1.424 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 1.432e-06/0.6954, allocations: 0 / 1.424 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0009715/0.6964, allocations: 0.6471 MB / 1.424 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.6964, allocations: 81.11 kB / 1.424 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.6967, allocations: 274.7 kB / 1.425 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.6967, allocations: 29.7 kB / 1.425 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.6968, allocations: 256.2 kB / 1.425 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.6969, allocations: 138.9 kB / 1.425 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.697, allocations: 0 / 1.425 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6971, allocations: 348.9 kB / 1.425 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.6973, allocations: 226.7 kB / 1.426 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.6977, allocations: 432.2 kB / 1.426 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.6981, allocations: 292.9 kB / 1.426 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6981, allocations: 0 / 1.426 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008988/0.699, allocations: 0.6743 MB / 1.427 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008007/0.6998, allocations: 2.609 MB / 1.429 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6998, allocations: 8 kB / 1.429 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6999, allocations: 12 kB / 1.429 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.7006, allocations: 171.1 kB / 1.43 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.7006, allocations: 11.94 kB / 1.43 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.7011, allocations: 67.78 kB / 1.43 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.7012, allocations: 30.56 kB / 1.43 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.7012, allocations: 10.81 kB / 1.43 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006434/0.7018, allocations: 492.8 kB / 1.43 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7018, allocations: 11.91 kB / 1.43 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.7018, allocations: 8 kB / 1.43 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.7024, allocations: 163.4 kB / 1.43 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7025, allocations: 11.94 kB / 1.43 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.7028, allocations: 62.8 kB / 1.43 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.7029, allocations: 26.31 kB / 1.43 GB, free: 14.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.703, allocations: 124 kB / 1.431 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.7031, allocations: 39.53 kB / 1.431 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007686/0.7039, allocations: 0.5787 MB / 1.431 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7039, allocations: 4 kB / 1.431 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7039, allocations: 0 / 1.431 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.7039, allocations: 7.984 kB / 1.431 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.7055, allocations: 1.299 MB / 1.432 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7055, allocations: 4 kB / 1.432 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007277/0.7063, allocations: 143.9 kB / 1.433 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.7063, allocations: 4 kB / 1.433 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.7063, allocations: 0 / 1.433 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7063, allocations: 4 kB / 1.433 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7063, allocations: 4 kB / 1.433 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007531/0.7071, allocations: 0.8107 MB / 1.433 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.7073, allocations: 170.2 kB / 1.434 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.7073, allocations: 0 / 1.434 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.7078, allocations: 51.94 kB / 1.434 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.7079, allocations: 23.66 kB / 1.434 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7079, allocations: 11.56 kB / 1.434 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001925/0.7081, allocations: 220.4 kB / 1.434 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006708/0.7088, allocations: 192 kB / 1.434 GB, free: 11.01 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.7089, allocations: 112.7 kB / 1.434 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009826/0.7099, allocations: 0.8321 MB / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7099, allocations: 8.188 kB / 1.435 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.7102, allocations: 265.8 kB / 1.435 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.7108, allocations: 93.28 kB / 1.435 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.7123, allocations: 0.8331 MB / 1.436 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.7129, allocations: 0.9436 MB / 1.437 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/0.7129, allocations: 3.938 kB / 1.437 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of Templates: time 0.0121/0.725, allocations: 8.265 MB / 1.445 GB, free: 80 kB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)