Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.187/2.187, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 185.3 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 0.7948 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 114.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 52.44 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2766, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009988/0.2866, allocations: 11 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.008558/0.2952, allocations: 5.851 MB / 1.235 GB, free: 100.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.2966, allocations: 47.62 kB / 1.235 GB, free: 100.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.3002, allocations: 1.627 MB / 1.236 GB, free: 98.62 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.3032, allocations: 1.066 MB / 1.237 GB, free: 97.55 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.305, allocations: 0.7401 MB / 1.238 GB, free: 96.81 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.3072, allocations: 2.876 MB / 1.241 GB, free: 93.93 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3086, allocations: 1.303 MB / 1.242 GB, free: 92.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.3094, allocations: 0.7586 MB / 1.243 GB, free: 91.84 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.3102, allocations: 0.9377 MB / 1.244 GB, free: 90.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3103, allocations: 80 kB / 1.244 GB, free: 90.82 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.3123, allocations: 1.462 MB / 1.245 GB, free: 89.36 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.3126, allocations: 0.4946 MB / 1.246 GB, free: 88.86 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.3131, allocations: 0.7536 MB / 1.246 GB, free: 88.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.3149, allocations: 2.457 MB / 1.249 GB, free: 85.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3149, allocations: 0 / 1.249 GB, free: 85.64 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.81e-07/0.315, allocations: 0 / 1.249 GB, free: 85.64 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.315, allocations: 0 / 1.249 GB, free: 85.64 MB / 0.823 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.002231/0.3172, allocations: 1.868 MB / 1.251 GB, free: 83.71 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3173, allocations: 15.98 kB / 1.251 GB, free: 83.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.321, allocations: 0.666 MB / 1.251 GB, free: 83.03 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3222, allocations: 0.9146 MB / 1.252 GB, free: 82.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.3223, allocations: 90.89 kB / 1.252 GB, free: 81.98 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.3225, allocations: 128.3 kB / 1.252 GB, free: 81.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.3246, allocations: 2.21 MB / 1.255 GB, free: 79.42 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.3246, allocations: 11.88 kB / 1.255 GB, free: 79.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3247, allocations: 55.98 kB / 1.255 GB, free: 79.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.3249, allocations: 162.3 kB / 1.255 GB, free: 79.19 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.327, allocations: 1.871 MB / 1.257 GB, free: 77.31 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008208/0.3352, allocations: 12.49 MB / 1.269 GB, free: 63.88 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.3386, allocations: 1.964 MB / 1.271 GB, free: 61.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.3392, allocations: 0.6011 MB / 1.271 GB, free: 61.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.3394, allocations: 102.1 kB / 1.271 GB, free: 61.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3394, allocations: 39.56 kB / 1.271 GB, free: 61.13 MB / 0.823 GB Notification: Performance of pre-optimization done (n=103): time 3.176e-06/0.3394, allocations: 0 / 1.271 GB, free: 61.13 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.004627/0.3441, allocations: 3.706 MB / 1.275 GB, free: 57.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3441, allocations: 68.41 kB / 1.275 GB, free: 57.19 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.3449, allocations: 0.9242 MB / 1.276 GB, free: 56.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.3449, allocations: 45.7 kB / 1.276 GB, free: 56.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.3452, allocations: 0.7237 MB / 1.277 GB, free: 55.46 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.3454, allocations: 386.5 kB / 1.277 GB, free: 55.08 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.3457, allocations: 287.2 kB / 1.277 GB, free: 54.79 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3458, allocations: 301.1 kB / 1.278 GB, free: 54.49 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.3464, allocations: 0.6129 MB / 1.278 GB, free: 53.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/0.3473, allocations: 1.113 MB / 1.279 GB, free: 52.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3489, allocations: 1.832 MB / 1.281 GB, free: 50.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3489, allocations: 7.938 kB / 1.281 GB, free: 50.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002499/0.3514, allocations: 2.096 MB / 1.283 GB, free: 48.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3515, allocations: 13.25 kB / 1.283 GB, free: 48.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3515, allocations: 16 kB / 1.283 GB, free: 48.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/0.3522, allocations: 263.3 kB / 1.284 GB, free: 48.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.3533, allocations: 371.4 kB / 1.284 GB, free: 47.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/0.3587, allocations: 10.76 MB / 1.294 GB, free: 35.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.3598, allocations: 127.8 kB / 1.295 GB, free: 35.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.3599, allocations: 71.98 kB / 1.295 GB, free: 35.66 MB / 0.823 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.0006139/0.3606, allocations: 413.7 kB / 1.295 GB, free: 35.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3607, allocations: 134.5 kB / 1.295 GB, free: 35.11 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.363, allocations: 1.673 MB / 1.297 GB, free: 33.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3631, allocations: 12 kB / 1.297 GB, free: 33.39 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3631, allocations: 4 kB / 1.297 GB, free: 33.39 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3631, allocations: 7.969 kB / 1.297 GB, free: 33.38 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.3672, allocations: 3.292 MB / 1.3 GB, free: 29.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3673, allocations: 4.094 kB / 1.3 GB, free: 29.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.368, allocations: 227.6 kB / 1.3 GB, free: 29.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000602/0.3686, allocations: 246.5 kB / 1.3 GB, free: 29.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.3687, allocations: 28 kB / 1.3 GB, free: 29.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/0.3741, allocations: 10.74 MB / 1.311 GB, free: 17.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3741, allocations: 4 kB / 1.311 GB, free: 17.61 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.3773, allocations: 3.34 MB / 1.314 GB, free: 14.12 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.3779, allocations: 315.3 kB / 1.315 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.3781, allocations: 28 kB / 1.315 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/0.3788, allocations: 91.88 kB / 1.315 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.379, allocations: 96.64 kB / 1.315 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.3791, allocations: 47.98 kB / 1.315 GB, free: 13.54 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000607/0.3797, allocations: 0.6138 MB / 1.315 GB, free: 12.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3797, allocations: 0 / 1.315 GB, free: 12.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001414/0.3811, allocations: 396 kB / 1.316 GB, free: 12.53 MB / 0.823 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.00025/0.3814, allocations: 141.2 kB / 1.316 GB, free: 12.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002839/0.3842, allocations: 2.492 MB / 1.318 GB, free: 9.793 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3842, allocations: 4.875 kB / 1.318 GB, free: 9.789 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.3858, allocations: 1.621 MB / 1.32 GB, free: 8.066 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.3874, allocations: 335.1 kB / 1.32 GB, free: 7.738 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.3917, allocations: 3.939 MB / 1.324 GB, free: 3.684 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009746/0.3927, allocations: 1.367 MB / 1.325 GB, free: 2.281 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0009926/0.3937, allocations: 367.3 kB / 1.326 GB, free: 1.918 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.394, allocations: 95.42 kB / 1.326 GB, free: 1.824 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.394, allocations: 0 / 1.326 GB, free: 1.824 MB / 0.823 GB Notification: Performance of Templates: time 0.02973/0.4237, allocations: 16.99 MB / 1.342 GB, free: 0.9805 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)