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.444/1.444, allocations: 252 MB / 268 MB, free: 10.87 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.0009759/0.0009759, allocations: 178.9 kB / 327.6 MB, free: 2.102 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.417/1.417, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007613/0.0007614, allocations: 98.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 8.938 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004066/0.1647, allocations: 4.53 MB / 0.9059 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1679, allocations: 2.503 MB / 0.9083 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.1684, allocations: 23.81 kB / 0.9084 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1687, allocations: 91.14 kB / 0.9084 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1697, allocations: 414 kB / 0.9088 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1705, allocations: 370.5 kB / 0.9092 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.1715, allocations: 1.132 MB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.1722, allocations: 472.2 kB / 0.9107 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.1727, allocations: 290.6 kB / 0.911 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.1732, allocations: 342.5 kB / 0.9114 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.1732, allocations: 20 kB / 0.9114 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/0.174, allocations: 491 kB / 0.9118 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1742, allocations: 163.4 kB / 0.912 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1744, allocations: 323.9 kB / 0.9123 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.1751, allocations: 0.6549 MB / 0.9129 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1751, allocations: 3.938 kB / 0.9129 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1751, allocations: 0 / 0.9129 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.1751, allocations: 0 / 0.9129 GB, free: 51.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.001124/0.1762, allocations: 0.8373 MB / 0.9138 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1763, allocations: 8.031 kB / 0.9138 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.1775, allocations: 203.8 kB / 0.914 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.1781, allocations: 0.4982 MB / 0.9145 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1781, allocations: 37.36 kB / 0.9145 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.1782, allocations: 40.38 kB / 0.9145 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.179, allocations: 0.8485 MB / 0.9154 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.1791, allocations: 15.78 kB / 0.9154 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.1791, allocations: 23.98 kB / 0.9154 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.1792, allocations: 64.95 kB / 0.9155 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.1799, allocations: 0.5695 MB / 0.916 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.1829, allocations: 5.654 MB / 0.9215 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.1834, allocations: 464.2 kB / 0.922 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.1836, allocations: 228.7 kB / 0.9222 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1837, allocations: 0 / 0.9222 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1837, allocations: 46.5 kB / 0.9222 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.183e-06/0.1837, allocations: 0 / 0.9222 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002079/0.1858, allocations: 1.505 MB / 0.9237 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1858, allocations: 55.34 kB / 0.9238 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.1862, allocations: 0.499 MB / 0.9242 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1863, allocations: 37.7 kB / 0.9243 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1864, allocations: 358.8 kB / 0.9246 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.1865, allocations: 122.3 kB / 0.9247 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.1865, allocations: 12 kB / 0.9248 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.1866, allocations: 366.8 kB / 0.9251 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.1868, allocations: 193.2 kB / 0.9253 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1871, allocations: 443 kB / 0.9257 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.1877, allocations: 0.6916 MB / 0.9264 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1877, allocations: 0 / 0.9264 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00103/0.1888, allocations: 0.8095 MB / 0.9272 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1888, allocations: 8 kB / 0.9272 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1888, allocations: 11.98 kB / 0.9272 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.1892, allocations: 152.3 kB / 0.9273 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.1897, allocations: 127.7 kB / 0.9275 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.1917, allocations: 4.04 MB / 0.9314 GB, free: 31.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.1921, allocations: 31.97 kB / 0.9314 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.1921, allocations: 32.16 kB / 0.9315 GB, free: 31.2 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001981/0.1923, allocations: 210.4 kB / 0.9317 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.1924, allocations: 67.23 kB / 0.9317 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.1932, allocations: 0.6123 MB / 0.9323 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1932, allocations: 0 / 0.9323 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1933, allocations: 4 kB / 0.9323 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1933, allocations: 3.938 kB / 0.9323 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.1947, allocations: 1.265 MB / 0.9336 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1947, allocations: 4 kB / 0.9336 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1949, allocations: 55.89 kB / 0.9336 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/0.1953, allocations: 140.4 kB / 0.9338 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1953, allocations: 11.98 kB / 0.9338 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.1973, allocations: 4.024 MB / 0.9377 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1973, allocations: 7.938 kB / 0.9377 GB, free: 24.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.1981, allocations: 0.7008 MB / 0.9384 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1982, allocations: 172.3 kB / 0.9386 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.1983, allocations: 15.92 kB / 0.9386 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1986, allocations: 19.97 kB / 0.9386 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.1986, allocations: 35.91 kB / 0.9386 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1987, allocations: 12 kB / 0.9386 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002699/0.1989, allocations: 338.8 kB / 0.939 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 0 / 0.939 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005736/0.1995, allocations: 140 kB / 0.9391 GB, free: 22.78 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001152/0.1997, allocations: 119.2 kB / 0.9392 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.2007, allocations: 1.029 MB / 0.9402 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2008, allocations: 0 / 0.9402 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.2014, allocations: 0.7444 MB / 0.9409 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2024, allocations: 197.3 kB / 0.9411 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2038, allocations: 1.336 MB / 0.9424 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.204, allocations: 0.9098 MB / 0.9433 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2042, allocations: 43.44 kB / 0.9434 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2042, allocations: 0 / 0.9434 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.01445/0.2186, allocations: 18.24 MB / 0.9612 GB, free: 15.95 MB / 0.6198 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)