Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001599/0.001599, allocations: 107.2 kB / 16.27 MB, free: 6.109 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.001785/0.001785, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 66.73 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006992/0.3057, allocations: 4.34 MB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.311, allocations: 2.806 MB / 0.9573 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.3115, allocations: 15.88 kB / 0.9573 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.3129, allocations: 378.2 kB / 0.9576 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.3142, allocations: 418.1 kB / 0.958 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3156, allocations: 0.5135 MB / 0.9585 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009564/0.3165, allocations: 0.7319 MB / 0.9593 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006331/0.3172, allocations: 359.8 kB / 0.9596 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.3176, allocations: 279 kB / 0.9599 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005733/0.3182, allocations: 354.7 kB / 0.9602 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.3183, allocations: 40 kB / 0.9602 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.319, allocations: 339.3 kB / 0.9606 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3192, allocations: 199.5 kB / 0.9608 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.3195, allocations: 262.7 kB / 0.961 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009134/0.3205, allocations: 0.7553 MB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3205, allocations: 0 / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3205, allocations: 0 / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3205, allocations: 0 / 0.9617 GB, free: 13.07 MB / 0.7481 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.00162/0.3221, allocations: 0.8457 MB / 0.9626 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3222, allocations: 8.031 kB / 0.9626 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.3237, allocations: 216 kB / 0.9628 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.3242, allocations: 371 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3243, allocations: 29.38 kB / 0.9632 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.3244, allocations: 44.36 kB / 0.9632 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.3259, allocations: 0.8636 MB / 0.964 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3259, allocations: 11.94 kB / 0.9641 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.326, allocations: 27.97 kB / 0.9641 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.785e-05/0.3261, allocations: 64.95 kB / 0.9641 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.3277, allocations: 0.714 MB / 0.9648 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.3323, allocations: 4.535 MB / 0.9693 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.334, allocations: 0.6611 MB / 0.9699 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.3347, allocations: 325.4 kB / 0.9702 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.3348, allocations: 15.97 kB / 0.9702 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3348, allocations: 38.42 kB / 0.9703 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 3.477e-06/0.3348, allocations: 0 / 0.9703 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.002532/0.3374, allocations: 0.9982 MB / 0.9713 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.3374, allocations: 85.11 kB / 0.9713 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.3379, allocations: 349.5 kB / 0.9717 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3379, allocations: 37.7 kB / 0.9717 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3382, allocations: 279.8 kB / 0.972 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3383, allocations: 138.1 kB / 0.9721 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3385, allocations: 114 kB / 0.9722 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3387, allocations: 358.7 kB / 0.9726 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.3394, allocations: 298.9 kB / 0.9728 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.3402, allocations: 492 kB / 0.9733 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.3418, allocations: 0.8131 MB / 0.9741 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3418, allocations: 4 kB / 0.9741 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001738/0.3435, allocations: 0.832 MB / 0.9749 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3436, allocations: 4 kB / 0.9749 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3436, allocations: 8 kB / 0.9749 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3436, allocations: 12 kB / 0.9749 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.3445, allocations: 180.2 kB / 0.9751 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3445, allocations: 15.94 kB / 0.9751 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.3451, allocations: 79.69 kB / 0.9752 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.3451, allocations: 27.98 kB / 0.9752 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007807/0.3459, allocations: 391 kB / 0.9756 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007337/0.3467, allocations: 455.6 kB / 0.976 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001366/0.348, allocations: 0.7159 MB / 0.9767 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.71e-06/0.3481, allocations: 3.938 kB / 0.9767 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001646/0.3497, allocations: 0.725 MB / 0.9774 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3497, allocations: 12.03 kB / 0.9775 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3498, allocations: 8 kB / 0.9775 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3498, allocations: 12 kB / 0.9775 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.3505, allocations: 159.7 kB / 0.9776 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.3505, allocations: 19.92 kB / 0.9777 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.3511, allocations: 71.78 kB / 0.9777 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.3511, allocations: 24 kB / 0.9777 GB, free: 11.64 MB / 0.7637 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.0002265/0.3513, allocations: 223.9 kB / 0.978 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3515, allocations: 47.44 kB / 0.978 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.3532, allocations: 0.6887 MB / 0.9787 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.3532, allocations: 4 kB / 0.9787 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3532, allocations: 11.88 kB / 0.9787 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3532, allocations: 3.984 kB / 0.9787 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.3558, allocations: 1.473 MB / 0.9801 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3558, allocations: 4.031 kB / 0.9801 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.3567, allocations: 147.8 kB / 0.9803 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/0.3567, allocations: 4 kB / 0.9803 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.3568, allocations: 15.94 kB / 0.9803 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3568, allocations: 0 / 0.9803 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.3568, allocations: 7.984 kB / 0.9803 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3584, allocations: 0.8111 MB / 0.9811 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.3587, allocations: 164.5 kB / 0.9813 GB, free: 7.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3588, allocations: 19.78 kB / 0.9813 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.3594, allocations: 63.91 kB / 0.9813 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3595, allocations: 31.91 kB / 0.9814 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.3596, allocations: 12 kB / 0.9814 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004019/0.36, allocations: 267.1 kB / 0.9816 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/0.36, allocations: 0 / 0.9816 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009807/0.361, allocations: 204 kB / 0.9818 GB, free: 7.324 MB / 0.7637 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.0001685/0.3611, allocations: 115.7 kB / 0.9819 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.3637, allocations: 1.069 MB / 0.983 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3637, allocations: 0 / 0.983 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.3643, allocations: 312.5 kB / 0.9833 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.3652, allocations: 131 kB / 0.9834 GB, free: 5.715 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3675, allocations: 1.11 MB / 0.9845 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.3681, allocations: 0.8755 MB / 0.9853 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.3684, allocations: 47.42 kB / 0.9854 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of SimCode: time 2.094e-06/0.3684, allocations: 0 / 0.9854 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of Templates: time 0.01243/0.3808, allocations: 7.062 MB / 0.9923 GB, free: 12.57 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)