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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001854/0.001854, allocations: 199.4 kB / 16.26 MB, free: 6.617 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.594/1.594, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.2 MB / 0.5485 GB, free: 13.68 MB / 462.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.001387/0.001387, allocations: 66.73 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2782, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01325/0.2915, allocations: 11.02 MB / 0.7936 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008923/0.3005, allocations: 5.809 MB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3019, allocations: 43.69 kB / 0.7993 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/0.3059, allocations: 1.623 MB / 0.8009 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.3092, allocations: 1.066 MB / 0.802 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.3113, allocations: 0.7403 MB / 0.8027 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003152/0.3145, allocations: 2.127 MB / 0.8048 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.3169, allocations: 1.493 MB / 0.8062 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3185, allocations: 0.8639 MB / 0.8071 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.3197, allocations: 0.9377 MB / 0.808 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.3199, allocations: 112 kB / 0.8081 GB, free: 4 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.3221, allocations: 1.177 MB / 0.8092 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.3227, allocations: 0.5297 MB / 0.8097 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.3235, allocations: 0.7927 MB / 0.8105 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.3268, allocations: 2.48 MB / 0.8129 GB, free: 15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3268, allocations: 0 / 0.8129 GB, free: 15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3269, allocations: 0 / 0.8129 GB, free: 15 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.3269, allocations: 0 / 0.8129 GB, free: 15 MB / 0.6387 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.003589/0.3305, allocations: 1.864 MB / 0.8148 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.3306, allocations: 15.97 kB / 0.8148 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.335, allocations: 0.6699 MB / 0.8154 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.3368, allocations: 0.9146 MB / 0.8163 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/0.3369, allocations: 90.91 kB / 0.8164 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.3371, allocations: 132.3 kB / 0.8165 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.3404, allocations: 2.21 MB / 0.8187 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.3405, allocations: 7.938 kB / 0.8187 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.3406, allocations: 59.97 kB / 0.8188 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.3409, allocations: 166.2 kB / 0.8189 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.344, allocations: 1.871 MB / 0.8207 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.3576, allocations: 12.48 MB / 0.8329 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.3618, allocations: 1.968 MB / 0.8349 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.3627, allocations: 0.6089 MB / 0.8354 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.3629, allocations: 106.1 kB / 0.8355 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3629, allocations: 43.56 kB / 0.8356 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.695e-06/0.3629, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006091/0.369, allocations: 3.702 MB / 0.8392 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3691, allocations: 64.41 kB / 0.8393 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3702, allocations: 0.9242 MB / 0.8402 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.3703, allocations: 41.7 kB / 0.8402 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.3708, allocations: 0.7237 MB / 0.8409 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.3711, allocations: 390.5 kB / 0.8413 GB, free: 436 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/0.3715, allocations: 291.2 kB / 0.8416 GB, free: 136 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3716, allocations: 301.1 kB / 0.8419 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.3725, allocations: 0.6129 MB / 0.8425 GB, free: 15.22 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3738, allocations: 1.106 MB / 0.8435 GB, free: 13.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.3761, allocations: 1.832 MB / 0.8453 GB, free: 11.85 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3761, allocations: 7.938 kB / 0.8453 GB, free: 11.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00344/0.3795, allocations: 2.104 MB / 0.8474 GB, free: 9.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3796, allocations: 12 kB / 0.8474 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3796, allocations: 16 kB / 0.8474 GB, free: 9.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/0.3805, allocations: 258.6 kB / 0.8477 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3818, allocations: 371.4 kB / 0.848 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.3911, allocations: 11.59 MB / 0.8593 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3925, allocations: 123.8 kB / 0.8594 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3926, allocations: 75.92 kB / 0.8595 GB, free: 12.13 MB / 0.6856 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.0008405/0.3934, allocations: 401.3 kB / 0.8599 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3936, allocations: 130.5 kB / 0.86 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.3965, allocations: 1.684 MB / 0.8617 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3965, allocations: 8 kB / 0.8617 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3965, allocations: 4 kB / 0.8617 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3965, allocations: 11.92 kB / 0.8617 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.4018, allocations: 3.295 MB / 0.8649 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.4019, allocations: 4 kB / 0.8649 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/0.4027, allocations: 219.6 kB / 0.8651 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000746/0.4035, allocations: 251.2 kB / 0.8654 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.4036, allocations: 31.94 kB / 0.8654 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009444/0.413, allocations: 11.57 MB / 0.8767 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.4131, allocations: 16 kB / 0.8767 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.4163, allocations: 1.792 MB / 0.8785 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/0.4171, allocations: 311.4 kB / 0.8788 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.4173, allocations: 20 kB / 0.8788 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.4181, allocations: 95.86 kB / 0.8789 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.4184, allocations: 92.72 kB / 0.879 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.4185, allocations: 39.98 kB / 0.879 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009461/0.4194, allocations: 0.6138 MB / 0.8796 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4195, allocations: 4 kB / 0.8796 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001928/0.4214, allocations: 392 kB / 0.88 GB, free: 5.711 MB / 0.7012 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.0003826/0.4218, allocations: 147.7 kB / 0.8801 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004763/0.4266, allocations: 2.879 MB / 0.8829 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4266, allocations: 0 / 0.8829 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.4292, allocations: 1.629 MB / 0.8845 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.4311, allocations: 353.6 kB / 0.8849 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.4362, allocations: 3.388 MB / 0.8882 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.4373, allocations: 1.331 MB / 0.8895 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001113/0.4384, allocations: 359.3 kB / 0.8898 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.4387, allocations: 95.42 kB / 0.8899 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.4387, allocations: 4 kB / 0.8899 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.03222/0.4709, allocations: 17.13 MB / 0.9066 GB, free: 10.24 MB / 0.7325 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)