Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.01351/0.01351, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002334/0.002334, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.618/1.618, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001479/0.001479, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01402/0.2818, allocations: 11.06 MB / 0.8389 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.2944, allocations: 5.84 MB / 0.8446 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.2965, allocations: 51.69 kB / 0.8446 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.3014, allocations: 1.722 MB / 0.8463 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.3058, allocations: 1.143 MB / 0.8474 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.3087, allocations: 0.8174 MB / 0.8482 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.3123, allocations: 2.119 MB / 0.8503 GB, free: 9.344 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.3142, allocations: 1.307 MB / 0.8515 GB, free: 8.016 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.3157, allocations: 0.8445 MB / 0.8524 GB, free: 7.168 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.317, allocations: 0.9065 MB / 0.8533 GB, free: 6.258 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.3172, allocations: 112 kB / 0.8534 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.3197, allocations: 1.185 MB / 0.8545 GB, free: 4.961 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005395/0.3202, allocations: 0.5259 MB / 0.855 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.3211, allocations: 0.7888 MB / 0.8558 GB, free: 3.641 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.3246, allocations: 2.422 MB / 0.8582 GB, free: 1.211 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3246, allocations: 3.984 kB / 0.8582 GB, free: 1.207 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3246, allocations: 0 / 0.8582 GB, free: 1.207 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.3246, allocations: 0 / 0.8582 GB, free: 1.207 MB / 0.67 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.003063/0.3277, allocations: 1.871 MB / 0.86 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3278, allocations: 8.031 kB / 0.86 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.3321, allocations: 0.67 MB / 0.8607 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.334, allocations: 1 MB / 0.8616 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.3341, allocations: 94.91 kB / 0.8617 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.3343, allocations: 128.3 kB / 0.8619 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.3375, allocations: 2.206 MB / 0.864 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.3376, allocations: 19.78 kB / 0.864 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.3377, allocations: 59.97 kB / 0.8641 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.338, allocations: 166.3 kB / 0.8642 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.3408, allocations: 1.867 MB / 0.8661 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3548, allocations: 12.44 MB / 0.8782 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.3592, allocations: 1.967 MB / 0.8801 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.3603, allocations: 0.6089 MB / 0.8807 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.3606, allocations: 106.1 kB / 0.8808 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.3606, allocations: 39.56 kB / 0.8809 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=103): time 3.797e-06/0.3606, allocations: 0 / 0.8809 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.006818/0.3675, allocations: 3.71 MB / 0.8845 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.3676, allocations: 72.41 kB / 0.8846 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3692, allocations: 0.9126 MB / 0.8855 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.3693, allocations: 45.7 kB / 0.8855 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.3701, allocations: 0.7314 MB / 0.8862 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.3706, allocations: 382.4 kB / 0.8866 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.3711, allocations: 287.2 kB / 0.8869 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3712, allocations: 305.1 kB / 0.8871 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/0.3721, allocations: 0.609 MB / 0.8877 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.3736, allocations: 1.113 MB / 0.8888 GB, free: 48 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.3762, allocations: 1.832 MB / 0.8906 GB, free: 14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.3762, allocations: 11.88 kB / 0.8906 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00395/0.3802, allocations: 2.099 MB / 0.8927 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3802, allocations: 12 kB / 0.8927 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3802, allocations: 16 kB / 0.8927 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/0.3811, allocations: 259.4 kB / 0.8929 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3823, allocations: 375.4 kB / 0.8933 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.3927, allocations: 11.57 MB / 0.9046 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.3944, allocations: 123.8 kB / 0.9047 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.3946, allocations: 71.94 kB / 0.9048 GB, free: 14.29 MB / 0.7325 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.000811/0.3954, allocations: 413.3 kB / 0.9052 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.3957, allocations: 130.4 kB / 0.9053 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.3986, allocations: 1.673 MB / 0.9069 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.3986, allocations: 15.98 kB / 0.907 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3986, allocations: 4 kB / 0.907 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3986, allocations: 7.969 kB / 0.907 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.4042, allocations: 3.307 MB / 0.9102 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.4042, allocations: 4 kB / 0.9102 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/0.4051, allocations: 223.6 kB / 0.9104 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007283/0.4058, allocations: 243 kB / 0.9107 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.4059, allocations: 31.94 kB / 0.9107 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6631/1.069, allocations: 11.54 MB / 0.922 GB, free: 81.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/1.069, allocations: 13.41 kB / 0.922 GB, free: 81.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/1.072, allocations: 1.794 MB / 0.9237 GB, free: 80.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007236/1.073, allocations: 307.9 kB / 0.924 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/1.073, allocations: 30.05 kB / 0.924 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/1.074, allocations: 90.06 kB / 0.9241 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.074, allocations: 96.88 kB / 0.9242 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.075, allocations: 41.28 kB / 0.9243 GB, free: 80.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001015/1.076, allocations: 0.6183 MB / 0.9249 GB, free: 80.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.076, allocations: 0 / 0.9249 GB, free: 80.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001912/1.077, allocations: 393.8 kB / 0.9252 GB, free: 80.43 MB / 0.7325 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.0002695/1.078, allocations: 144 kB / 0.9254 GB, free: 80.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003979/1.082, allocations: 2.506 MB / 0.9278 GB, free: 79.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.082, allocations: 1.156 kB / 0.9278 GB, free: 79.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/1.084, allocations: 1.62 MB / 0.9294 GB, free: 78.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/1.086, allocations: 363.9 kB / 0.9298 GB, free: 77.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/1.092, allocations: 2.743 MB / 0.9324 GB, free: 76.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.093, allocations: 1.328 MB / 0.9337 GB, free: 75.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001298/1.094, allocations: 362.2 kB / 0.9341 GB, free: 75.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/1.094, allocations: 95.19 kB / 0.9342 GB, free: 75.82 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/1.094, allocations: 0 / 0.9342 GB, free: 75.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.04692/1.141, allocations: 17.36 MB / 0.9511 GB, free: 72.3 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)