Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 12.19 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6767, allocations: 153.8 MB / 1.024 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.00514/0.6818, allocations: 3.981 MB / 1.028 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.6864, allocations: 2.802 MB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.6868, allocations: 7.938 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.6871, allocations: 71.41 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.6882, allocations: 394.4 kB / 1.031 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6895, allocations: 482.7 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.6907, allocations: 1.005 MB / 1.032 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009138/0.6916, allocations: 0.512 MB / 1.033 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.692, allocations: 227 kB / 1.033 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.6926, allocations: 346.7 kB / 1.033 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.279e-05/0.6927, allocations: 20 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.6934, allocations: 415.1 kB / 1.034 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.6936, allocations: 175.5 kB / 1.034 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.6939, allocations: 264.3 kB / 1.034 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.6946, allocations: 0.5591 MB / 1.035 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6946, allocations: 0 / 1.035 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6946, allocations: 0 / 1.035 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.6947, allocations: 0 / 1.035 GB, free: 4.734 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.001442/0.6961, allocations: 0.7639 MB / 1.035 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6962, allocations: 16.03 kB / 1.035 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.6977, allocations: 212 kB / 1.036 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.6983, allocations: 367 kB / 1.036 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.6983, allocations: 33.36 kB / 1.036 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6984, allocations: 48.34 kB / 1.036 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6999, allocations: 0.8831 MB / 1.037 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.7, allocations: 3.938 kB / 1.037 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.7, allocations: 20 kB / 1.037 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-05/0.7001, allocations: 64.95 kB / 1.037 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.7017, allocations: 0.7452 MB / 1.038 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.706, allocations: 4.543 MB / 1.042 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.7077, allocations: 0.685 MB / 1.043 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.7085, allocations: 333.5 kB / 1.043 GB, free: 11.49 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.7085, allocations: 7.984 kB / 1.043 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.7085, allocations: 38.56 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.7085, allocations: 0 / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=39): time 0.00254/0.7111, allocations: 1.055 MB / 1.044 GB, free: 10.37 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7112, allocations: 85.05 kB / 1.044 GB, free: 10.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.7115, allocations: 353.4 kB / 1.045 GB, free: 9.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.7116, allocations: 33.7 kB / 1.045 GB, free: 9.879 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.7118, allocations: 283.9 kB / 1.045 GB, free: 9.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7119, allocations: 138 kB / 1.045 GB, free: 9.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.712, allocations: 45.7 kB / 1.045 GB, free: 9.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7121, allocations: 354.7 kB / 1.045 GB, free: 9.051 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.7129, allocations: 304.9 kB / 1.046 GB, free: 8.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.7137, allocations: 0.5116 MB / 1.046 GB, free: 8.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.7153, allocations: 0.8404 MB / 1.047 GB, free: 7.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7154, allocations: 4 kB / 1.047 GB, free: 7.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00189/0.7172, allocations: 0.8555 MB / 1.048 GB, free: 6.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.7175, allocations: 286.7 kB / 1.048 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7175, allocations: 11.98 kB / 1.048 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.7175, allocations: 12 kB / 1.048 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/0.7184, allocations: 179.7 kB / 1.048 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.7185, allocations: 11.94 kB / 1.048 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.7191, allocations: 95.69 kB / 1.048 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.7192, allocations: 24 kB / 1.048 GB, free: 5.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7192, allocations: 11.92 kB / 1.049 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001565/0.7208, allocations: 0.6947 MB / 1.049 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.7208, allocations: 8 kB / 1.049 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7208, allocations: 8 kB / 1.049 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.7215, allocations: 167.8 kB / 1.049 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.7216, allocations: 19.92 kB / 1.049 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.722, allocations: 67.83 kB / 1.049 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.7221, allocations: 27.98 kB / 1.049 GB, free: 4.641 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003765/0.7225, allocations: 288.8 kB / 1.05 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7226, allocations: 43.44 kB / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.7244, allocations: 0.7319 MB / 1.05 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.7244, allocations: 4 kB / 1.05 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.7244, allocations: 8 kB / 1.051 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7244, allocations: 0 / 1.051 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.7271, allocations: 1.513 MB / 1.052 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7271, allocations: 0 / 1.052 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.7279, allocations: 159.8 kB / 1.052 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.728, allocations: 8.156 kB / 1.052 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.728, allocations: 12 kB / 1.052 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.728, allocations: 4 kB / 1.052 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.728, allocations: 7.875 kB / 1.052 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.7295, allocations: 0.8422 MB / 1.053 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.7297, allocations: 180.4 kB / 1.053 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.7298, allocations: 11.94 kB / 1.053 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.7304, allocations: 67.91 kB / 1.053 GB, free: 0.625 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7305, allocations: 35.91 kB / 1.053 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.7306, allocations: 12 kB / 1.053 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004064/0.731, allocations: 271.1 kB / 1.054 GB, free: 320 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.731, allocations: 0 / 1.054 GB, free: 320 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.000984/0.732, allocations: 200 kB / 1.054 GB, free: 120 kB / 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 (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.0001579/0.7321, allocations: 111.2 kB / 1.054 GB, free: 0 / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002414/0.7346, allocations: 1.053 MB / 1.055 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7346, allocations: 7.938 kB / 1.055 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.7353, allocations: 327.8 kB / 1.055 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.7362, allocations: 123.4 kB / 1.055 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.7385, allocations: 1.324 MB / 1.057 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.739, allocations: 0.8796 MB / 1.057 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.7393, allocations: 47.42 kB / 1.058 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of SimCode: time 9.41e-07/0.7393, allocations: 0 / 1.058 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of Templates: time 0.01229/0.7516, allocations: 6.987 MB / 1.064 GB, free: 5.223 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)