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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001176/0.001176, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001311/0.001311, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 8 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.874, allocations: 153.6 MB / 1.021 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006746/0.8808, allocations: 3.729 MB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005756/0.8866, allocations: 2.464 MB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.8871, allocations: 11.94 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.8874, allocations: 55.59 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.8886, allocations: 267.1 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.8903, allocations: 418.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.8914, allocations: 435 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.8926, allocations: 493.1 kB / 1.028 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.8931, allocations: 195.3 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.8937, allocations: 239.1 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.222e-05/0.8937, allocations: 23.94 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.8943, allocations: 131.8 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.8945, allocations: 167.5 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.8947, allocations: 113.5 kB / 1.029 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.8953, allocations: 0.5318 MB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.8953, allocations: 4 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8953, allocations: 0 / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8953, allocations: 0 / 1.03 GB, free: 7.863 MB / 0.7794 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.001425/0.8968, allocations: 0.756 MB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8968, allocations: 11.98 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.8977, allocations: 159.2 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.8984, allocations: 350 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.8984, allocations: 36.94 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.8985, allocations: 39.98 kB / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.8998, allocations: 0.8438 MB / 1.032 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.8999, allocations: 7.938 kB / 1.032 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.8999, allocations: 19.94 kB / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/0.9, allocations: 64.95 kB / 1.032 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.9013, allocations: 0.7062 MB / 1.033 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/0.9066, allocations: 4.488 MB / 1.037 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.9085, allocations: 0.6182 MB / 1.038 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.9085, allocations: 8 kB / 1.038 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9086, allocations: 34.56 kB / 1.038 GB, free: 15.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=38): time 3.156e-06/0.9086, allocations: 4 kB / 1.038 GB, free: 15.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=39): time 0.002978/0.9116, allocations: 0.9959 MB / 1.039 GB, free: 14.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.9117, allocations: 88.98 kB / 1.039 GB, free: 14.06 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.9122, allocations: 353.5 kB / 1.039 GB, free: 13.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.9123, allocations: 29.7 kB / 1.039 GB, free: 13.67 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.9125, allocations: 287.8 kB / 1.039 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.9127, allocations: 134.1 kB / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.9128, allocations: 12 kB / 1.04 GB, free: 13.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.913, allocations: 346.8 kB / 1.04 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.9137, allocations: 284.9 kB / 1.04 GB, free: 12.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009766/0.9147, allocations: 492 kB / 1.041 GB, free: 12.03 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.9155, allocations: 339.8 kB / 1.041 GB, free: 11.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.9155, allocations: 4 kB / 1.041 GB, free: 11.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002082/0.9176, allocations: 0.8249 MB / 1.042 GB, free: 10.86 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001372/0.919, allocations: 2.616 MB / 1.044 GB, free: 8.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.919, allocations: 4 kB / 1.044 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.9191, allocations: 12 kB / 1.044 GB, free: 8.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.9202, allocations: 179.7 kB / 1.045 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.9202, allocations: 15.94 kB / 1.045 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.921, allocations: 79.7 kB / 1.045 GB, free: 7.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.9211, allocations: 27.98 kB / 1.045 GB, free: 7.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9211, allocations: 4 kB / 1.045 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/0.9229, allocations: 0.6508 MB / 1.045 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.9229, allocations: 8 kB / 1.045 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9229, allocations: 11.95 kB / 1.045 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.9238, allocations: 160.5 kB / 1.045 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.9239, allocations: 19.92 kB / 1.045 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.9244, allocations: 63.7 kB / 1.046 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.9245, allocations: 24 kB / 1.046 GB, free: 6.793 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.925, allocations: 284.9 kB / 1.046 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.9251, allocations: 43.52 kB / 1.046 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.9269, allocations: 0.6924 MB / 1.047 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.9269, allocations: 4 kB / 1.047 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.927, allocations: 0 / 1.047 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.927, allocations: 3.984 kB / 1.047 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.9304, allocations: 1.475 MB / 1.048 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.9304, allocations: 8 kB / 1.048 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/0.9314, allocations: 156 kB / 1.048 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.9314, allocations: 4 kB / 1.048 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.9314, allocations: 8 kB / 1.048 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.9315, allocations: 7.938 kB / 1.048 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9315, allocations: 0 / 1.048 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.9333, allocations: 0.9165 MB / 1.049 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.9336, allocations: 176.4 kB / 1.049 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.9337, allocations: 11.94 kB / 1.049 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.9341, allocations: 63.86 kB / 1.049 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9342, allocations: 43.77 kB / 1.049 GB, free: 2.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.9343, allocations: 8 kB / 1.049 GB, free: 2.715 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002646/0.9345, allocations: 251.2 kB / 1.05 GB, free: 2.473 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9345, allocations: 0 / 1.05 GB, free: 2.473 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008543/0.9354, allocations: 196 kB / 1.05 GB, free: 2.281 MB / 0.795 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 (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.0001632/0.9356, allocations: 117.7 kB / 1.05 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.9374, allocations: 1.002 MB / 1.051 GB, free: 1.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9375, allocations: 0 / 1.051 GB, free: 1.16 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.9381, allocations: 312.2 kB / 1.051 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.9387, allocations: 117.3 kB / 1.051 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.9407, allocations: 1.251 MB / 1.053 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.9412, allocations: 0.8913 MB / 1.053 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005765/0.9418, allocations: 200.1 kB / 1.054 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.942, allocations: 43.42 kB / 1.054 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/0.942, allocations: 0 / 1.054 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.01075/0.9528, allocations: 5.974 MB / 1.059 GB, free: 8.363 MB / 0.8106 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)