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.008318/0.008318, allocations: 102 kB / 15.73 MB, free: 6.48 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.001491/0.001491, allocations: 195.7 kB / 16.67 MB, free: 6.391 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.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.578 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.605/1.605, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001498/0.001498, allocations: 75.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2931, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04405/0.3372, allocations: 37.27 MB / 0.8644 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.362, allocations: 13.59 MB / 0.8777 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005231/0.3673, allocations: 115.7 kB / 0.8778 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006271/0.3736, allocations: 2.274 MB / 0.88 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.3779, allocations: 1.424 MB / 0.8814 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009381/0.3873, allocations: 3.522 MB / 0.8849 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008866/0.3962, allocations: 6.391 MB / 0.8911 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/0.412, allocations: 9.889 MB / 0.9008 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.4173, allocations: 2.755 MB / 0.9035 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6682/1.086, allocations: 3.198 MB / 0.9066 GB, free: 25.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003996/1.09, allocations: 0.6201 MB / 0.9072 GB, free: 25.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/1.096, allocations: 1.227 MB / 0.9084 GB, free: 25.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.009073/1.105, allocations: 2.476 MB / 0.9108 GB, free: 25.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01317/1.119, allocations: 2.55 MB / 0.9133 GB, free: 25.49 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/1.139, allocations: 9.141 MB / 0.9222 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.139, allocations: 0 / 0.9222 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.071e-06/1.139, allocations: 2.438 kB / 0.9222 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004623/1.139, allocations: 4.969 kB / 0.9222 GB, free: 24.82 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.01854/1.158, allocations: 4.299 MB / 0.9264 GB, free: 23.33 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.158, allocations: 9.719 kB / 0.9264 GB, free: 23.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/1.163, allocations: 0.9445 MB / 0.9274 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/1.17, allocations: 2.224 MB / 0.9295 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/1.17, allocations: 327.7 kB / 0.9298 GB, free: 22.65 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/1.172, allocations: 429.1 kB / 0.9302 GB, free: 22.65 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/1.199, allocations: 7.354 MB / 0.9374 GB, free: 21.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/1.2, allocations: 21.78 kB / 0.9375 GB, free: 21.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009226/1.201, allocations: 188.6 kB / 0.9376 GB, free: 21.94 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005218/1.201, allocations: 287.4 kB / 0.9379 GB, free: 21.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.217, allocations: 5.959 MB / 0.9437 GB, free: 20.58 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04474/1.261, allocations: 32.36 MB / 0.9753 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/1.266, allocations: 2.114 MB / 0.9774 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.267, allocations: 1.238 MB / 0.9786 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.267, allocations: 105 kB / 0.9787 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.268, allocations: 46.75 kB / 0.9787 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.326e-06/1.268, allocations: 0 / 0.9787 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.009994/1.278, allocations: 5.231 MB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.278, allocations: 144.5 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/1.28, allocations: 1.459 MB / 0.9854 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.28, allocations: 42.11 kB / 0.9855 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.282, allocations: 1.859 MB / 0.9873 GB, free: 400 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/1.282, allocations: 374.9 kB / 0.9876 GB, free: 80 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/1.283, allocations: 463.3 kB / 0.9881 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.283, allocations: 301.1 kB / 0.9884 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.285, allocations: 1.118 MB / 0.9895 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/1.287, allocations: 2.187 MB / 0.9916 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/1.291, allocations: 3.395 MB / 0.9949 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-05/1.291, allocations: 12 kB / 0.9949 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007051/1.298, allocations: 3.308 MB / 0.9981 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/1.298, allocations: 23 kB / 0.9982 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.58e-05/1.298, allocations: 43.94 kB / 0.9982 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.889e-05/1.298, allocations: 44 kB / 0.9983 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.301, allocations: 0.6218 MB / 0.9989 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.814e-05/1.301, allocations: 73.22 kB / 0.9989 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.304, allocations: 310.7 kB / 0.9992 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.304, allocations: 116 kB / 0.9993 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004957/1.309, allocations: 2.401 MB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002068/1.311, allocations: 2.012 MB / 1.004 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003358/1.314, allocations: 3.025 MB / 1.007 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/1.314, allocations: 12 kB / 1.007 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00457/1.319, allocations: 2.929 MB / 1.009 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.319, allocations: 20 kB / 1.009 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.319, allocations: 36 kB / 1.01 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.846e-05/1.319, allocations: 48 kB / 1.01 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/1.321, allocations: 0.5552 MB / 1.01 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.699e-05/1.321, allocations: 70.03 kB / 1.01 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.323, allocations: 247.2 kB / 1.01 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.323, allocations: 120 kB / 1.011 GB, free: 9.699 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.0006838/1.324, allocations: 338.7 kB / 1.011 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/1.324, allocations: 154.1 kB / 1.011 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/1.328, allocations: 2.226 MB / 1.013 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.328, allocations: 12 kB / 1.013 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.328, allocations: 3.938 kB / 1.013 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.328, allocations: 11.98 kB / 1.013 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.348, allocations: 10.97 MB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.348, allocations: 13 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.349, allocations: 384.5 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/1.349, allocations: 20 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/1.349, allocations: 28 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.349, allocations: 26.83 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/1.349, allocations: 15.56 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/1.353, allocations: 2.761 MB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/1.354, allocations: 450.8 kB / 1.028 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/1.354, allocations: 43.2 kB / 1.028 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.355, allocations: 163.7 kB / 1.028 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.355, allocations: 91.38 kB / 1.028 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/1.355, allocations: 44 kB / 1.028 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001415/1.357, allocations: 0.9703 MB / 1.029 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/1.357, allocations: 4 kB / 1.029 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004453/1.361, allocations: 1.129 MB / 1.03 GB, free: 5.602 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.000285/1.362, allocations: 159.2 kB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005907/1.368, allocations: 4.007 MB / 1.034 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.368, allocations: 448 / 1.034 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.369, allocations: 1.058 MB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/1.372, allocations: 459.6 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.386, allocations: 6.98 MB / 1.042 GB, free: 9.121 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/1.39, allocations: 2.868 MB / 1.045 GB, free: 6.219 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003835/1.394, allocations: 1.211 MB / 1.046 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.395, allocations: 119.4 kB / 1.046 GB, free: 4.883 MB / 0.795 GB Notification: Performance of SimCode: time 1.362e-06/1.395, allocations: 0 / 1.046 GB, free: 4.883 MB / 0.795 GB Notification: Performance of Templates: time 0.07202/1.467, allocations: 25.17 MB / 1.071 GB, free: 12.02 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)