Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001097/0.001097, allocations: 192.1 kB / 376.9 MB, free: 1.812 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.477/1.477, allocations: 205 MB / 0.6353 GB, free: 9.816 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.00127/0.001269, allocations: 100.9 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.275, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01337/0.2885, allocations: 11.01 MB / 0.993 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.2986, allocations: 5.899 MB / 0.9987 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.3001, allocations: 47.69 kB / 0.9988 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.3045, allocations: 1.611 MB / 1 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.3092, allocations: 1.066 MB / 1.001 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.3117, allocations: 0.7446 MB / 1.002 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.3155, allocations: 2.868 MB / 1.005 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.3179, allocations: 1.316 MB / 1.006 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3196, allocations: 0.7702 MB / 1.007 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.3214, allocations: 0.9183 MB / 1.008 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.3219, allocations: 84.05 kB / 1.008 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.3251, allocations: 1.466 MB / 1.009 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008009/0.3259, allocations: 0.5063 MB / 1.01 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.3274, allocations: 0.7497 MB / 1.011 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004462/0.3319, allocations: 2.449 MB / 1.013 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3319, allocations: 0 / 1.013 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3319, allocations: 0 / 1.013 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.514e-05/0.332, allocations: 4 kB / 1.013 GB, free: 10.75 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004032/0.336, allocations: 1.864 MB / 1.015 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3361, allocations: 8.031 kB / 1.015 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00437/0.3405, allocations: 0.6738 MB / 1.015 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.3425, allocations: 0.9146 MB / 1.016 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.3426, allocations: 94.89 kB / 1.016 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.3428, allocations: 120.4 kB / 1.017 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.3458, allocations: 2.214 MB / 1.019 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.3458, allocations: 11.94 kB / 1.019 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.346, allocations: 59.97 kB / 1.019 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.3462, allocations: 162.3 kB / 1.019 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.3488, allocations: 1.867 MB / 1.021 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5576/0.9064, allocations: 12.47 MB / 1.033 GB, free: 87.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.9111, allocations: 1.96 MB / 1.035 GB, free: 87.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.9123, allocations: 0.6111 MB / 1.035 GB, free: 87.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.9126, allocations: 99.91 kB / 1.036 GB, free: 87.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.9127, allocations: 47.27 kB / 1.036 GB, free: 87.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=103): time 4.038e-06/0.9127, allocations: 0 / 1.036 GB, free: 87.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=110): time 0.006826/0.9195, allocations: 3.715 MB / 1.039 GB, free: 86.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.9196, allocations: 63.22 kB / 1.039 GB, free: 86.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.9215, allocations: 0.9219 MB / 1.04 GB, free: 86.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.9216, allocations: 43.17 kB / 1.04 GB, free: 86.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.9222, allocations: 0.7289 MB / 1.041 GB, free: 86.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/0.9226, allocations: 384.5 kB / 1.041 GB, free: 85.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.9232, allocations: 285 kB / 1.042 GB, free: 85.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.9233, allocations: 305.3 kB / 1.042 GB, free: 85.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.9245, allocations: 0.616 MB / 1.043 GB, free: 85.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.9259, allocations: 1.104 MB / 1.044 GB, free: 84.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.9286, allocations: 1.828 MB / 1.045 GB, free: 84.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.9286, allocations: 4.719 kB / 1.045 GB, free: 84.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004453/0.933, allocations: 2.101 MB / 1.047 GB, free: 83.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.9331, allocations: 12.06 kB / 1.047 GB, free: 83.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/0.9332, allocations: 17.19 kB / 1.047 GB, free: 83.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009205/0.9341, allocations: 258.7 kB / 1.048 GB, free: 83.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.9356, allocations: 377.5 kB / 1.048 GB, free: 83.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/0.9435, allocations: 10.77 MB / 1.059 GB, free: 72.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.9454, allocations: 124.6 kB / 1.059 GB, free: 72.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.9455, allocations: 71.28 kB / 1.059 GB, free: 72.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009271/0.9465, allocations: 407.6 kB / 1.059 GB, free: 72.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.9467, allocations: 134.9 kB / 1.059 GB, free: 72.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.9501, allocations: 1.674 MB / 1.061 GB, free: 71.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9501, allocations: 12.62 kB / 1.061 GB, free: 71.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9501, allocations: 4.594 kB / 1.061 GB, free: 71.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.9501, allocations: 5.531 kB / 1.061 GB, free: 71.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/0.9567, allocations: 3.3 MB / 1.064 GB, free: 70.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.9567, allocations: 7.719 kB / 1.064 GB, free: 70.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/0.9576, allocations: 219.1 kB / 1.064 GB, free: 70.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/0.9584, allocations: 245 kB / 1.065 GB, free: 70.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/0.9585, allocations: 26 kB / 1.065 GB, free: 70.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007086/0.9656, allocations: 10.73 MB / 1.075 GB, free: 59.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.9657, allocations: 9.812 kB / 1.075 GB, free: 59.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.9703, allocations: 3.354 MB / 1.078 GB, free: 57.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008124/0.9711, allocations: 302.5 kB / 1.079 GB, free: 57.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.9715, allocations: 30.42 kB / 1.079 GB, free: 57.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9726, allocations: 93.72 kB / 1.079 GB, free: 57.42 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.9729, allocations: 95.22 kB / 1.079 GB, free: 57.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.973, allocations: 34.19 kB / 1.079 GB, free: 57.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001013/0.974, allocations: 0.6223 MB / 1.08 GB, free: 57.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.01e-07/0.974, allocations: 0 / 1.08 GB, free: 57.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002857/0.9769, allocations: 394.7 kB / 1.08 GB, free: 57.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004863/0.9774, allocations: 144.3 kB / 1.08 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004252/0.9816, allocations: 2.489 MB / 1.082 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9817, allocations: 1.219 kB / 1.082 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.9837, allocations: 1.632 MB / 1.084 GB, free: 54.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.9859, allocations: 336.5 kB / 1.084 GB, free: 54.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.9928, allocations: 3.929 MB / 1.088 GB, free: 52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.9943, allocations: 1.374 MB / 1.09 GB, free: 51.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001711/0.996, allocations: 362.9 kB / 1.09 GB, free: 51.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.9965, allocations: 94.05 kB / 1.09 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of SimCode: time 2.154e-06/0.9965, allocations: 0 / 1.09 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.03763/1.034, allocations: 17.01 MB / 1.107 GB, free: 50.28 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)