Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006875/0.006875, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001258/0.001258, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.703/1.703, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.719/1.719, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001462/0.001462, allocations: 67.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2436, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005591/0.2492, allocations: 4.297 MB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.2532, allocations: 2.413 MB / 0.8346 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.2535, allocations: 15.88 kB / 0.8346 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.2546, allocations: 370.3 kB / 0.835 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.2555, allocations: 374.1 kB / 0.8353 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.2564, allocations: 318.1 kB / 0.8356 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009015/0.2573, allocations: 0.675 MB / 0.8363 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.2578, allocations: 273.9 kB / 0.8365 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.2581, allocations: 255 kB / 0.8368 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.2585, allocations: 262.9 kB / 0.837 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.2586, allocations: 28 kB / 0.8371 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.2594, allocations: 439 kB / 0.8375 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.2596, allocations: 143.5 kB / 0.8376 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2598, allocations: 242.6 kB / 0.8379 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.2607, allocations: 0.7277 MB / 0.8386 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.2607, allocations: 4 kB / 0.8386 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2607, allocations: 0 / 0.8386 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2607, allocations: 0 / 0.8386 GB, free: 5.406 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00122/0.2619, allocations: 0.8056 MB / 0.8394 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.262, allocations: 8.031 kB / 0.8394 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.2633, allocations: 192.4 kB / 0.8395 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.2639, allocations: 432.8 kB / 0.84 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.264, allocations: 25.36 kB / 0.84 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.264, allocations: 32.38 kB / 0.84 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.2649, allocations: 0.6587 MB / 0.8407 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2649, allocations: 3.938 kB / 0.8407 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.265, allocations: 23.98 kB / 0.8407 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.265, allocations: 55.95 kB / 0.8407 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.2657, allocations: 0.4904 MB / 0.8412 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.2692, allocations: 3.787 MB / 0.8449 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2709, allocations: 0.6321 MB / 0.8455 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.2712, allocations: 178.5 kB / 0.8457 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2712, allocations: 0 / 0.8457 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2712, allocations: 46.5 kB / 0.8457 GB, free: 13.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.2713, allocations: 3.938 kB / 0.8457 GB, free: 13.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002184/0.2734, allocations: 1.29 MB / 0.847 GB, free: 12.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.2735, allocations: 106.8 kB / 0.8471 GB, free: 12.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.2739, allocations: 401.8 kB / 0.8475 GB, free: 11.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.274, allocations: 33.7 kB / 0.8475 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.2742, allocations: 288.2 kB / 0.8478 GB, free: 11.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.2743, allocations: 123 kB / 0.8479 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.2744, allocations: 102.2 kB / 0.848 GB, free: 11.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2746, allocations: 358.8 kB / 0.8484 GB, free: 10.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.2748, allocations: 181 kB / 0.8485 GB, free: 10.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.2753, allocations: 371.3 kB / 0.8489 GB, free: 10.14 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.2761, allocations: 0.5871 MB / 0.8495 GB, free: 9.457 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2761, allocations: 13.56 kB / 0.8495 GB, free: 9.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001093/0.2772, allocations: 0.6709 MB / 0.8501 GB, free: 8.758 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2772, allocations: 8 kB / 0.8501 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2773, allocations: 8.75 kB / 0.8501 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.2777, allocations: 106.4 kB / 0.8502 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.2781, allocations: 111.8 kB / 0.8503 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.2818, allocations: 4.34 MB / 0.8546 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2821, allocations: 27.97 kB / 0.8546 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.2822, allocations: 24 kB / 0.8546 GB, free: 3.707 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002621/0.2824, allocations: 207.2 kB / 0.8548 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2826, allocations: 51.67 kB / 0.8549 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009037/0.2835, allocations: 0.5108 MB / 0.8554 GB, free: 2.918 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.2835, allocations: 8 kB / 0.8554 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2835, allocations: 4 kB / 0.8554 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2835, allocations: 0 / 0.8554 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.2853, allocations: 1.291 MB / 0.8567 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2853, allocations: 4 kB / 0.8567 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2856, allocations: 59.89 kB / 0.8567 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.2858, allocations: 94.73 kB / 0.8568 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2859, allocations: 12 kB / 0.8568 GB, free: 1.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.2892, allocations: 4.336 MB / 0.8611 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2892, allocations: 0 / 0.8611 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.2902, allocations: 0.7939 MB / 0.8618 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2904, allocations: 156.7 kB / 0.862 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.2904, allocations: 8 kB / 0.862 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.2908, allocations: 23.97 kB / 0.862 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2908, allocations: 35.83 kB / 0.862 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2909, allocations: 20 kB / 0.8621 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003122/0.2912, allocations: 279.1 kB / 0.8623 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 0 / 0.8623 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007026/0.2919, allocations: 124 kB / 0.8624 GB, free: 11.08 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001659/0.2921, allocations: 111.2 kB / 0.8626 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.2934, allocations: 0.8026 MB / 0.8633 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2934, allocations: 288 / 0.8633 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.2941, allocations: 0.5545 MB / 0.8639 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.2951, allocations: 137.6 kB / 0.864 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2968, allocations: 0.9176 MB / 0.8649 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.2973, allocations: 0.8586 MB / 0.8657 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.2977, allocations: 104.5 kB / 0.8658 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.2978, allocations: 39.42 kB / 0.8659 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.2978, allocations: 0 / 0.8659 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of Templates: time 0.01208/0.3099, allocations: 5.836 MB / 0.8716 GB, free: 1.605 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)