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.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.7 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.5783 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007837/0.0007838, allocations: 85.41 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 8.375 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004056/0.2273, allocations: 4.307 MB / 0.905 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2304, allocations: 2.38 MB / 0.9074 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.2308, allocations: 19.81 kB / 0.9074 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.231, allocations: 91.2 kB / 0.9075 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.2318, allocations: 354.1 kB / 0.9078 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.2325, allocations: 311.9 kB / 0.9081 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.2332, allocations: 0.9679 MB / 0.909 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.2337, allocations: 428.2 kB / 0.9095 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.234, allocations: 294.6 kB / 0.9097 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.2343, allocations: 322.6 kB / 0.91 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2343, allocations: 23.94 kB / 0.9101 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.2347, allocations: 203.7 kB / 0.9103 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2348, allocations: 159.5 kB / 0.9104 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.2349, allocations: 137.3 kB / 0.9105 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.2354, allocations: 0.6392 MB / 0.9112 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.2354, allocations: 0 / 0.9112 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2354, allocations: 0 / 0.9112 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2354, allocations: 0 / 0.9112 GB, free: 53.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00102/0.2364, allocations: 0.8489 MB / 0.912 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2365, allocations: 8.031 kB / 0.912 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.2376, allocations: 206.9 kB / 0.9122 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.2381, allocations: 489.2 kB / 0.9127 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2382, allocations: 36.94 kB / 0.9127 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.2382, allocations: 47.98 kB / 0.9128 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.239, allocations: 0.8403 MB / 0.9136 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2391, allocations: 7.938 kB / 0.9136 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.2391, allocations: 23.98 kB / 0.9136 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/0.2392, allocations: 60.95 kB / 0.9137 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.2399, allocations: 0.5733 MB / 0.9142 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.2428, allocations: 5.654 MB / 0.9197 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.2434, allocations: 453.3 kB / 0.9202 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.2436, allocations: 225.3 kB / 0.9204 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2437, allocations: 8 kB / 0.9204 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2437, allocations: 42.5 kB / 0.9204 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.2437, allocations: 0 / 0.9204 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002119/0.2458, allocations: 1.509 MB / 0.9219 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2459, allocations: 55.41 kB / 0.922 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.2462, allocations: 0.4951 MB / 0.9224 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2463, allocations: 29.7 kB / 0.9225 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2464, allocations: 358.8 kB / 0.9228 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2465, allocations: 122.3 kB / 0.9229 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.2465, allocations: 8 kB / 0.9229 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.2466, allocations: 366.8 kB / 0.9233 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2468, allocations: 197.1 kB / 0.9235 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.2472, allocations: 443 kB / 0.9239 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.2475, allocations: 260.1 kB / 0.9241 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2475, allocations: 7.938 kB / 0.9242 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001024/0.2485, allocations: 0.8016 MB / 0.9249 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2485, allocations: 8 kB / 0.9249 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2486, allocations: 8 kB / 0.925 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.249, allocations: 160.4 kB / 0.9251 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2494, allocations: 123.8 kB / 0.9252 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.2515, allocations: 4.04 MB / 0.9292 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.2518, allocations: 40.19 kB / 0.9292 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.2519, allocations: 28 kB / 0.9292 GB, free: 33.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.2521, allocations: 205.6 kB / 0.9294 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.2521, allocations: 63.25 kB / 0.9295 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/0.253, allocations: 0.6085 MB / 0.9301 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.253, allocations: 7.953 kB / 0.9301 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.253, allocations: 3.984 kB / 0.9301 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.253, allocations: 0 / 0.9301 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.2544, allocations: 1.257 MB / 0.9313 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2544, allocations: 3.953 kB / 0.9313 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.2546, allocations: 51.95 kB / 0.9314 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.255, allocations: 144.3 kB / 0.9315 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.255, allocations: 8 kB / 0.9315 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.257, allocations: 4.021 MB / 0.9355 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.257, allocations: 7.938 kB / 0.9355 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.2577, allocations: 0.7089 MB / 0.9362 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2579, allocations: 164.3 kB / 0.9363 GB, free: 25.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.258, allocations: 8 kB / 0.9363 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2582, allocations: 27.97 kB / 0.9363 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.2583, allocations: 35.89 kB / 0.9364 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2583, allocations: 8 kB / 0.9364 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002549/0.2585, allocations: 334.8 kB / 0.9367 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2586, allocations: 0 / 0.9367 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005298/0.2591, allocations: 140 kB / 0.9368 GB, free: 25.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2592, allocations: 111.2 kB / 0.9369 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2603, allocations: 1.033 MB / 0.938 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2603, allocations: 4 kB / 0.938 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.2609, allocations: 0.7328 MB / 0.9387 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.2618, allocations: 200.5 kB / 0.9389 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2631, allocations: 1.279 MB / 0.9401 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2634, allocations: 0.9136 MB / 0.941 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2635, allocations: 43.44 kB / 0.941 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.2635, allocations: 0 / 0.941 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.01516/0.2786, allocations: 18.26 MB / 0.9589 GB, free: 2.609 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)