Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.888/1.888, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 192.4 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 95.5 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 56.16 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3017, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02331/0.3251, allocations: 20.28 MB / 1.002 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.3376, allocations: 7.616 MB / 1.009 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.3399, allocations: 51.81 kB / 1.01 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.3433, allocations: 1.249 MB / 1.011 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.3462, allocations: 0.9263 MB / 1.012 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.3508, allocations: 1.84 MB / 1.013 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006596/0.3575, allocations: 6.473 MB / 1.02 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5213/0.8788, allocations: 6.846 MB / 1.026 GB, free: 69.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.8819, allocations: 1.558 MB / 1.028 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.8859, allocations: 2.249 MB / 1.03 GB, free: 69.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.8871, allocations: 292 kB / 1.03 GB, free: 69.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.89, allocations: 0.9442 MB / 1.031 GB, free: 69.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.8927, allocations: 1.519 MB / 1.033 GB, free: 69.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003118/0.8958, allocations: 1.571 MB / 1.034 GB, free: 68.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.9066, allocations: 6.066 MB / 1.04 GB, free: 68.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.9067, allocations: 1.281 kB / 1.04 GB, free: 68.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9067, allocations: 0.7969 kB / 1.04 GB, free: 68.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000234/0.9069, allocations: 4 kB / 1.04 GB, free: 68.47 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01047/0.9174, allocations: 3.035 MB / 1.043 GB, free: 67.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.9175, allocations: 13.78 kB / 1.043 GB, free: 67.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.9209, allocations: 0.6801 MB / 1.044 GB, free: 67.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.9247, allocations: 1.539 MB / 1.045 GB, free: 66.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.9249, allocations: 221.1 kB / 1.046 GB, free: 66.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.9256, allocations: 288 kB / 1.046 GB, free: 66.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009388/0.935, allocations: 5.04 MB / 1.051 GB, free: 66.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.14e-05/0.9351, allocations: 14.62 kB / 1.051 GB, free: 66.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.9355, allocations: 127.3 kB / 1.051 GB, free: 66.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002734/0.9358, allocations: 208.9 kB / 1.051 GB, free: 66.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/0.9444, allocations: 4.175 MB / 1.055 GB, free: 66.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.9709, allocations: 23.04 MB / 1.078 GB, free: 49.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.9737, allocations: 1.7 MB / 1.079 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.9751, allocations: 1.127 MB / 1.081 GB, free: 48.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.9753, allocations: 115 kB / 1.081 GB, free: 48.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.9753, allocations: 38.59 kB / 1.081 GB, free: 48.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=84): time 3.587e-06/0.9753, allocations: 0 / 1.081 GB, free: 48.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.005663/0.981, allocations: 3.985 MB / 1.085 GB, free: 46.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.9811, allocations: 150.2 kB / 1.085 GB, free: 46.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.982, allocations: 0.8462 MB / 1.086 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.9821, allocations: 40.86 kB / 1.086 GB, free: 45.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.9826, allocations: 1.157 MB / 1.087 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.9829, allocations: 315.6 kB / 1.087 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.9833, allocations: 273.2 kB / 1.087 GB, free: 44.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9834, allocations: 407.7 kB / 1.088 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.9844, allocations: 0.8001 MB / 1.088 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.9856, allocations: 1.295 MB / 1.09 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.9879, allocations: 2.141 MB / 1.092 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.9879, allocations: 6.531 kB / 1.092 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002924/0.9909, allocations: 2.163 MB / 1.094 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.9909, allocations: 13.34 kB / 1.094 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.9909, allocations: 19.62 kB / 1.094 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.496e-05/0.991, allocations: 21.44 kB / 1.094 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.9925, allocations: 403.1 kB / 1.094 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.172e-05/0.9926, allocations: 35.97 kB / 1.094 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.9938, allocations: 202.6 kB / 1.095 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.9939, allocations: 58.02 kB / 1.095 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002887/0.9968, allocations: 1.659 MB / 1.096 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/0.9978, allocations: 1.168 MB / 1.097 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001903/0.9997, allocations: 1.882 MB / 1.099 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.714e-06/0.9998, allocations: 7.188 kB / 1.099 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002592/1.002, allocations: 1.888 MB / 1.101 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.002, allocations: 12.31 kB / 1.101 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.002, allocations: 12.91 kB / 1.101 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.002, allocations: 23.03 kB / 1.101 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.004, allocations: 356.4 kB / 1.101 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/1.004, allocations: 33.06 kB / 1.101 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.005, allocations: 160.9 kB / 1.102 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/1.005, allocations: 62.45 kB / 1.102 GB, free: 37.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0005009/1.006, allocations: 267 kB / 1.102 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.006, allocations: 100 kB / 1.102 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/1.009, allocations: 1.839 MB / 1.104 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.009, allocations: 13.16 kB / 1.104 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.009, allocations: 3.188 kB / 1.104 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/1.009, allocations: 3.516 kB / 1.104 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/1.021, allocations: 9.583 MB / 1.113 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.021, allocations: 13.72 kB / 1.113 GB, free: 32.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.022, allocations: 313.1 kB / 1.114 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/1.022, allocations: 16.41 kB / 1.114 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/1.022, allocations: 27.56 kB / 1.114 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/1.022, allocations: 26.38 kB / 1.114 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.022, allocations: 23.91 kB / 1.114 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.026, allocations: 4.26 MB / 1.118 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/1.027, allocations: 376.1 kB / 1.118 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.027, allocations: 38.95 kB / 1.118 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/1.028, allocations: 128.5 kB / 1.118 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/1.029, allocations: 95.75 kB / 1.118 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/1.029, allocations: 37.5 kB / 1.118 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007333/1.029, allocations: 0.5888 MB / 1.119 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003039/1.032, allocations: 0.7525 MB / 1.12 GB, free: 29.9 MB / 0.7448 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 (90): * Single equations (assignments): 90 * 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.000296/1.033, allocations: 142.1 kB / 1.12 GB, free: 29.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.037, allocations: 2.832 MB / 1.123 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.037, allocations: 0 / 1.123 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/1.038, allocations: 0.9102 MB / 1.124 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.04, allocations: 285.7 kB / 1.124 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.05, allocations: 6.77 MB / 1.13 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/1.053, allocations: 2.168 MB / 1.133 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002325/1.055, allocations: 0.7354 MB / 1.133 GB, free: 23.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/1.056, allocations: 81.92 kB / 1.133 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.056, allocations: 0 / 1.133 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.04087/1.097, allocations: 17.17 MB / 1.15 GB, free: 22.56 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)