Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000991/0.0009909, allocations: 171.9 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 0.5786 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007698/0.0007697, allocations: 92.23 kB / 0.6832 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003121, allocations: 7.906 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1763, allocations: 106.3 MB / 0.9015 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02736/0.2037, allocations: 36.02 MB / 0.9366 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.2204, allocations: 13.52 MB / 0.9498 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.2234, allocations: 95.62 kB / 0.9499 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2249, allocations: 0.5934 MB / 0.9505 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.228, allocations: 1.331 MB / 0.9518 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.2323, allocations: 1.941 MB / 0.9537 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007337/0.2396, allocations: 9.581 MB / 0.9631 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.2558, allocations: 11.92 MB / 0.9747 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.2595, allocations: 1.895 MB / 0.9765 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.2636, allocations: 2.706 MB / 0.9792 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.2643, allocations: 252 kB / 0.9794 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.2663, allocations: 1.057 MB / 0.9805 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.2682, allocations: 1.999 MB / 0.9824 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002288/0.2705, allocations: 2.019 MB / 0.9844 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.2775, allocations: 7.668 MB / 0.9919 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2776, allocations: 3.938 kB / 0.9919 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2776, allocations: 0 / 0.9919 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002475/0.2778, allocations: 0 / 0.9919 GB, free: 2.918 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007082/0.2849, allocations: 3.393 MB / 0.9952 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.285, allocations: 11.97 kB / 0.9952 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.2892, allocations: 0.9521 MB / 0.9961 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.2934, allocations: 2.187 MB / 0.9983 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.2937, allocations: 325 kB / 0.9986 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009957/0.2947, allocations: 428.3 kB / 0.999 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.3075, allocations: 7.362 MB / 1.006 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.387e-05/0.3077, allocations: 15.88 kB / 1.006 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/0.3081, allocations: 188 kB / 1.006 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/0.3084, allocations: 290.9 kB / 1.007 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.3196, allocations: 5.959 MB / 1.012 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03652/0.3562, allocations: 32.63 MB / 1.044 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.3595, allocations: 2.115 MB / 1.046 GB, free: 7.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3611, allocations: 1.233 MB / 1.048 GB, free: 6.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.3613, allocations: 110.1 kB / 1.048 GB, free: 6.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3613, allocations: 43.56 kB / 1.048 GB, free: 6.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 3.547e-06/0.3613, allocations: 4 kB / 1.048 GB, free: 6.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.007457/0.3688, allocations: 5.234 MB / 1.053 GB, free: 1.125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.3689, allocations: 145.4 kB / 1.053 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3705/0.7394, allocations: 1.449 MB / 1.054 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.7398, allocations: 49.86 kB / 1.054 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.7408, allocations: 1.863 MB / 1.056 GB, free: 138.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.7412, allocations: 369.5 kB / 1.057 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.7413, allocations: 42.34 kB / 1.057 GB, free: 138.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7414, allocations: 393.1 kB / 1.057 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.7429, allocations: 1.11 MB / 1.058 GB, free: 138.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.7448, allocations: 2.185 MB / 1.06 GB, free: 137.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.7483, allocations: 3.409 MB / 1.064 GB, free: 135.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.7483, allocations: 9.281 kB / 1.064 GB, free: 135.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005549/0.7539, allocations: 3.315 MB / 1.067 GB, free: 135.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005734/0.7545, allocations: 1.093 MB / 1.068 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.459e-05/0.7546, allocations: 34.59 kB / 1.068 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.101e-05/0.7547, allocations: 47.67 kB / 1.068 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.757, allocations: 0.6197 MB / 1.069 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.537e-05/0.7571, allocations: 66.45 kB / 1.069 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.7591, allocations: 313.5 kB / 1.069 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.7593, allocations: 113.7 kB / 1.069 GB, free: 133.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.7594, allocations: 3.719 kB / 1.069 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004816/0.7642, allocations: 2.752 MB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.2e-05/0.7643, allocations: 34.31 kB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.174e-05/0.7643, allocations: 46.94 kB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.7662, allocations: 0.5549 MB / 1.072 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.75e-05/0.7663, allocations: 69.61 kB / 1.072 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7679, allocations: 228.9 kB / 1.073 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.768, allocations: 114.3 kB / 1.073 GB, free: 133.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0034/0.7714, allocations: 1.705 MB / 1.074 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.7719, allocations: 154.9 kB / 1.075 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.7754, allocations: 2.238 MB / 1.077 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.7755, allocations: 11.31 kB / 1.077 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.7755, allocations: 4.812 kB / 1.077 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7755, allocations: 9.672 kB / 1.077 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.7892, allocations: 10.97 MB / 1.088 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.7893, allocations: 18.7 kB / 1.088 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.7907, allocations: 386.2 kB / 1.088 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.7907, allocations: 19.62 kB / 1.088 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.7908, allocations: 35.56 kB / 1.088 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/0.7909, allocations: 23.55 kB / 1.088 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.7909, allocations: 15.62 kB / 1.088 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.7935, allocations: 2.753 MB / 1.091 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/0.7942, allocations: 473.8 kB / 1.091 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.7944, allocations: 39.55 kB / 1.091 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.7953, allocations: 163 kB / 1.091 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.7955, allocations: 100.9 kB / 1.091 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.7956, allocations: 42.12 kB / 1.091 GB, free: 125.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001093/0.7967, allocations: 0.9768 MB / 1.092 GB, free: 124.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7967, allocations: 0 / 1.092 GB, free: 124.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003894/0.8006, allocations: 1.125 MB / 1.094 GB, free: 124.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.0002478/0.8009, allocations: 152.4 kB / 1.094 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005048/0.8059, allocations: 3.99 MB / 1.098 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.806, allocations: 0 / 1.098 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.8071, allocations: 1.06 MB / 1.099 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/0.8113, allocations: 413.2 kB / 1.099 GB, free: 119.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.8228, allocations: 9.466 MB / 1.108 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/0.8253, allocations: 2.951 MB / 1.111 GB, free: 106.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.8261, allocations: 135.4 kB / 1.111 GB, free: 106.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.8261, allocations: 0 / 1.111 GB, free: 106.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04975/0.8758, allocations: 40.22 MB / 1.151 GB, free: 66.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)