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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.11 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006922/1.046, allocations: 4.341 MB / 1.213 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005495/1.051, allocations: 2.817 MB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/1.052, allocations: 7.938 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/1.053, allocations: 370.2 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/1.055, allocations: 422.1 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/1.056, allocations: 0.5068 MB / 1.217 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001228/1.058, allocations: 0.732 MB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/1.058, allocations: 367.5 kB / 1.218 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/1.059, allocations: 283 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/1.06, allocations: 350.8 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/1.06, allocations: 40 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/1.061, allocations: 339.3 kB / 1.219 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/1.061, allocations: 199.5 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/1.061, allocations: 262.7 kB / 1.219 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/1.063, allocations: 0.7726 MB / 1.22 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.063, allocations: 0 / 1.22 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.304e-06/1.063, allocations: 0 / 1.22 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.309e-05/1.063, allocations: 0 / 1.22 GB, free: 1.891 MB / 0.9356 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.001949/1.065, allocations: 0.8379 MB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.065, allocations: 8.031 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.066, allocations: 216 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/1.067, allocations: 379.1 kB / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/1.067, allocations: 33.36 kB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.067, allocations: 48.22 kB / 1.221 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.069, allocations: 0.8636 MB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.069, allocations: 7.875 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/1.069, allocations: 23.98 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.574e-05/1.069, allocations: 60.95 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/1.071, allocations: 0.7252 MB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/1.075, allocations: 4.519 MB / 1.227 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.077, allocations: 0.661 MB / 1.228 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/1.078, allocations: 325.5 kB / 1.228 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/1.078, allocations: 7.984 kB / 1.228 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.078, allocations: 42.55 kB / 1.228 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=38): time 2.275e-06/1.078, allocations: 4 kB / 1.228 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39): time 0.002595/1.08, allocations: 1.003 MB / 1.229 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.08, allocations: 81.11 kB / 1.229 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/1.081, allocations: 357.5 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/1.081, allocations: 29.7 kB / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.081, allocations: 279.8 kB / 1.23 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/1.081, allocations: 141.9 kB / 1.23 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.081, allocations: 114.1 kB / 1.23 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.081, allocations: 354.7 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/1.082, allocations: 298.8 kB / 1.231 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/1.083, allocations: 500 kB / 1.231 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.085, allocations: 0.8034 MB / 1.232 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.085, allocations: 4 kB / 1.232 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001821/1.086, allocations: 0.8315 MB / 1.233 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.086, allocations: 8 kB / 1.233 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.086, allocations: 4.812 kB / 1.233 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.087, allocations: 12 kB / 1.233 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/1.087, allocations: 183.6 kB / 1.233 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/1.087, allocations: 15.94 kB / 1.233 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/1.088, allocations: 71.77 kB / 1.233 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/1.088, allocations: 35.98 kB / 1.233 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007591/1.089, allocations: 381 kB / 1.234 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000733/1.09, allocations: 459.6 kB / 1.234 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/1.091, allocations: 0.7158 MB / 1.235 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.367e-06/1.091, allocations: 3.938 kB / 1.235 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001614/1.093, allocations: 0.7287 MB / 1.236 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.093, allocations: 8 kB / 1.236 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.093, allocations: 8 kB / 1.236 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.093, allocations: 12 kB / 1.236 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/1.093, allocations: 156.1 kB / 1.236 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.093, allocations: 27.86 kB / 1.236 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.094, allocations: 67.69 kB / 1.236 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/1.094, allocations: 24 kB / 1.236 GB, free: 484 kB / 0.9512 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.094, allocations: 227.9 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/1.094, allocations: 43.53 kB / 1.236 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/1.096, allocations: 0.6929 MB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.096, allocations: 8 kB / 1.237 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.096, allocations: 0 / 1.237 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.096, allocations: 3.984 kB / 1.237 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/1.098, allocations: 1.48 MB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.098, allocations: 3.938 kB / 1.238 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/1.099, allocations: 147.8 kB / 1.238 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.099, allocations: 4 kB / 1.238 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.099, allocations: 11.94 kB / 1.238 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.099, allocations: 7.938 kB / 1.238 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.099, allocations: 0 / 1.238 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/1.101, allocations: 0.819 MB / 1.239 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/1.101, allocations: 172.4 kB / 1.239 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/1.101, allocations: 11.94 kB / 1.239 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/1.102, allocations: 67.91 kB / 1.239 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.102, allocations: 27.97 kB / 1.24 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.102, allocations: 12 kB / 1.24 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000376/1.102, allocations: 267.1 kB / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.61e-07/1.102, allocations: 0 / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008922/1.103, allocations: 200 kB / 1.24 GB, free: 12.15 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/1.103, allocations: 115.2 kB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.105, allocations: 1.021 MB / 1.241 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.105, allocations: 0 / 1.241 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/1.106, allocations: 315.6 kB / 1.241 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/1.107, allocations: 140.4 kB / 1.242 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/1.109, allocations: 1.087 MB / 1.243 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/1.11, allocations: 0.8831 MB / 1.243 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.11, allocations: 47.42 kB / 1.243 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.11, allocations: 0 / 1.243 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of Templates: time 0.01173/1.122, allocations: 7.099 MB / 1.25 GB, free: 1.414 MB / 0.9669 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)