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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008832/0.008833, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001779/0.00178, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.703/1.703, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3081, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04599/0.3542, allocations: 37.27 MB / 0.8644 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3786, allocations: 13.59 MB / 0.8777 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005064/0.3837, allocations: 111.7 kB / 0.8778 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006529/0.3903, allocations: 2.269 MB / 0.88 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3952, allocations: 1.431 MB / 0.8814 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009831/0.4051, allocations: 3.525 MB / 0.8849 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009719/0.4149, allocations: 6.391 MB / 0.8911 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.4285, allocations: 9.886 MB / 0.9008 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/0.4336, allocations: 2.755 MB / 0.9035 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6695/1.103, allocations: 3.201 MB / 0.9066 GB, free: 25.6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002776/1.106, allocations: 0.6195 MB / 0.9072 GB, free: 25.6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/1.11, allocations: 1.225 MB / 0.9084 GB, free: 25.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005184/1.115, allocations: 2.473 MB / 0.9108 GB, free: 25.6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01043/1.126, allocations: 2.552 MB / 0.9133 GB, free: 25.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02427/1.15, allocations: 9.144 MB / 0.9222 GB, free: 24.76 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/1.15, allocations: 0 / 0.9222 GB, free: 24.76 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.258e-06/1.15, allocations: 1 kB / 0.9222 GB, free: 24.76 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005365/1.151, allocations: 4.938 kB / 0.9222 GB, free: 24.76 MB / 0.7169 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.02193/1.173, allocations: 4.304 MB / 0.9264 GB, free: 23.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.173, allocations: 8.906 kB / 0.9264 GB, free: 23.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/1.179, allocations: 0.9429 MB / 0.9274 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007356/1.186, allocations: 2.226 MB / 0.9295 GB, free: 22.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/1.187, allocations: 327 kB / 0.9298 GB, free: 22.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003168/1.19, allocations: 425.2 kB / 0.9302 GB, free: 22.58 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/1.217, allocations: 7.356 MB / 0.9374 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/1.217, allocations: 27.19 kB / 0.9375 GB, free: 21.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009067/1.218, allocations: 181.9 kB / 0.9376 GB, free: 21.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004487/1.219, allocations: 289 kB / 0.9379 GB, free: 21.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/1.234, allocations: 5.956 MB / 0.9437 GB, free: 20.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04843/1.282, allocations: 32.37 MB / 0.9753 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.286, allocations: 2.118 MB / 0.9774 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/1.288, allocations: 1.24 MB / 0.9786 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/1.288, allocations: 100 kB / 0.9787 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.288, allocations: 47.39 kB / 0.9788 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/1.288, allocations: 0 / 0.9788 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.00918/1.297, allocations: 5.221 MB / 0.9838 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.297, allocations: 157 kB / 0.984 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.299, allocations: 1.451 MB / 0.9854 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.3, allocations: 46.86 kB / 0.9855 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.301, allocations: 1.855 MB / 0.9873 GB, free: 280 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/1.301, allocations: 375.5 kB / 0.9876 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/1.302, allocations: 465.2 kB / 0.9881 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.302, allocations: 301.1 kB / 0.9884 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/1.304, allocations: 1.119 MB / 0.9895 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/1.306, allocations: 2.188 MB / 0.9916 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004149/1.311, allocations: 3.397 MB / 0.9949 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/1.311, allocations: 8 kB / 0.9949 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005541/1.316, allocations: 3.32 MB / 0.9982 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/1.316, allocations: 24.25 kB / 0.9982 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/1.316, allocations: 35.94 kB / 0.9982 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.055e-05/1.316, allocations: 48 kB / 0.9983 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.319, allocations: 0.6142 MB / 0.9989 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.452e-05/1.319, allocations: 77.16 kB / 0.9989 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.321, allocations: 306.7 kB / 0.9992 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.322, allocations: 112 kB / 0.9993 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005477/1.327, allocations: 2.405 MB / 1.002 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002919/1.33, allocations: 2.012 MB / 1.004 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004476/1.335, allocations: 3.032 MB / 1.007 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.635e-05/1.335, allocations: 8 kB / 1.007 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005459/1.34, allocations: 2.92 MB / 1.009 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/1.34, allocations: 22.81 kB / 1.009 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/1.34, allocations: 36 kB / 1.01 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.988e-05/1.34, allocations: 48 kB / 1.01 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/1.342, allocations: 0.554 MB / 1.01 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-05/1.342, allocations: 71.34 kB / 1.01 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.345, allocations: 251.2 kB / 1.01 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/1.345, allocations: 116.5 kB / 1.011 GB, free: 9.551 MB / 0.7637 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.0006968/1.346, allocations: 332.9 kB / 1.011 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/1.346, allocations: 154.1 kB / 1.011 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/1.35, allocations: 2.227 MB / 1.013 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.351, allocations: 11.98 kB / 1.013 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.351, allocations: 7.938 kB / 1.013 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.351, allocations: 11.55 kB / 1.013 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.374, allocations: 10.97 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.809e-05/1.374, allocations: 12 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.376, allocations: 388.5 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.889e-05/1.376, allocations: 16 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/1.376, allocations: 35.98 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-05/1.376, allocations: 19.66 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/1.376, allocations: 15.56 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/1.382, allocations: 2.762 MB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.383, allocations: 454.8 kB / 1.028 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/1.384, allocations: 35.94 kB / 1.028 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.385, allocations: 167.7 kB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/1.386, allocations: 97.17 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.386, allocations: 36 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002355/1.388, allocations: 0.9742 MB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.61e-07/1.388, allocations: 8 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008512/1.397, allocations: 1.125 MB / 1.03 GB, free: 5.457 MB / 0.7794 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.0004142/1.397, allocations: 149.1 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007436/1.404, allocations: 4.011 MB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/1.404, allocations: 8.125 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.406, allocations: 1.059 MB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/1.409, allocations: 446.4 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.428, allocations: 6.993 MB / 1.042 GB, free: 8.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004413/1.432, allocations: 2.867 MB / 1.045 GB, free: 6.074 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003182/1.435, allocations: 1.207 MB / 1.046 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/1.436, allocations: 119.4 kB / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.436, allocations: 4 kB / 1.046 GB, free: 4.738 MB / 0.795 GB Notification: Performance of Templates: time 0.05221/1.488, allocations: 25.18 MB / 1.071 GB, free: 11.87 MB / 0.8262 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)