Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 192.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009331, allocations: 98.94 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00741/0.2356, allocations: 4.919 MB / 0.987 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.2401, allocations: 2.55 MB / 0.9895 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.2409, allocations: 27.75 kB / 0.9896 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.2425, allocations: 362.5 kB / 0.9899 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2437, allocations: 414 kB / 0.9903 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009769/0.2447, allocations: 371.3 kB / 0.9906 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.2462, allocations: 1.136 MB / 0.9918 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.247, allocations: 355.5 kB / 0.9921 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.2476, allocations: 302.6 kB / 0.9924 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.2482, allocations: 362.4 kB / 0.9927 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.2483, allocations: 24 kB / 0.9928 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2493, allocations: 499 kB / 0.9932 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.2496, allocations: 179.4 kB / 0.9934 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.25, allocations: 302.2 kB / 0.9937 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2513, allocations: 0.8953 MB / 0.9946 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2513, allocations: 0 / 0.9946 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2513, allocations: 4 kB / 0.9946 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.2513, allocations: 0 / 0.9946 GB, free: 13.7 MB / 0.7292 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.001799/0.2531, allocations: 0.9501 MB / 0.9955 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2532, allocations: 12.03 kB / 0.9955 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.2545, allocations: 199.9 kB / 0.9957 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.2554, allocations: 0.4982 MB / 0.9962 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2554, allocations: 33.38 kB / 0.9962 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/0.2555, allocations: 48.27 kB / 0.9963 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2566, allocations: 0.8448 MB / 0.9971 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.2567, allocations: 7.938 kB / 0.9971 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.2567, allocations: 27.98 kB / 0.9971 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.4e-05/0.2568, allocations: 64.95 kB / 0.9972 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.2578, allocations: 0.5733 MB / 0.9977 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00572/0.2635, allocations: 5.651 MB / 1.003 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.2643, allocations: 458.3 kB / 1.004 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.2646, allocations: 224.7 kB / 1.004 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.2647, allocations: 4 kB / 1.004 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2647, allocations: 38.56 kB / 1.004 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 5.249e-06/0.2647, allocations: 0 / 1.004 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002753/0.2675, allocations: 1.519 MB / 1.005 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2675, allocations: 55.41 kB / 1.005 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.2681, allocations: 0.499 MB / 1.006 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2681, allocations: 33.7 kB / 1.006 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.2683, allocations: 366.7 kB / 1.006 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.2684, allocations: 110.4 kB / 1.006 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2686, allocations: 110.2 kB / 1.007 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2688, allocations: 374.8 kB / 1.007 GB, free: 252 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.269, allocations: 189.2 kB / 1.007 GB, free: 64 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.2695, allocations: 450.8 kB / 1.008 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.2703, allocations: 0.6875 MB / 1.008 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2703, allocations: 0 / 1.008 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001274/0.2716, allocations: 0.8206 MB / 1.009 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2716, allocations: 8 kB / 1.009 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2716, allocations: 8.875 kB / 1.009 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.2721, allocations: 160.1 kB / 1.009 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.2726, allocations: 123.7 kB / 1.009 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.2757, allocations: 4.032 MB / 1.013 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.2761, allocations: 31.97 kB / 1.013 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.2762, allocations: 31.98 kB / 1.013 GB, free: 9.051 MB / 0.7448 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.000286/0.2765, allocations: 211.3 kB / 1.013 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2766, allocations: 63.25 kB / 1.014 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.2777, allocations: 0.5969 MB / 1.014 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2777, allocations: 4 kB / 1.014 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2777, allocations: 7.984 kB / 1.014 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2777, allocations: 7.922 kB / 1.014 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.2796, allocations: 1.253 MB / 1.015 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2796, allocations: 4.219 kB / 1.015 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.2798, allocations: 55.89 kB / 1.015 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.2803, allocations: 140.2 kB / 1.016 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.2803, allocations: 8 kB / 1.016 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.2832, allocations: 4.04 MB / 1.02 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2832, allocations: 7.969 kB / 1.02 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.2848, allocations: 1.596 MB / 1.021 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.2851, allocations: 164.4 kB / 1.021 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.2852, allocations: 8 kB / 1.021 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.2855, allocations: 23.97 kB / 1.021 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.2856, allocations: 35.84 kB / 1.021 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2856, allocations: 8 kB / 1.021 GB, free: 184 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.4141/0.6997, allocations: 347.2 kB / 1.022 GB, free: 97.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.072e-06/0.6998, allocations: 0 / 1.022 GB, free: 97.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001594/0.7014, allocations: 140.1 kB / 1.022 GB, free: 97.55 MB / 0.7448 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.0003195/0.7017, allocations: 112.1 kB / 1.022 GB, free: 97.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.7036, allocations: 1.031 MB / 1.023 GB, free: 96.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7036, allocations: 0 / 1.023 GB, free: 96.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007459/0.7044, allocations: 0.734 MB / 1.024 GB, free: 96.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.7054, allocations: 183 kB / 1.024 GB, free: 96.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.7077, allocations: 1.5 MB / 1.025 GB, free: 95.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.7082, allocations: 0.9233 MB / 1.026 GB, free: 94.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003607/0.7086, allocations: 117.9 kB / 1.026 GB, free: 94.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.7087, allocations: 40.53 kB / 1.026 GB, free: 94.89 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.7087, allocations: 3.844 kB / 1.026 GB, free: 94.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.01721/0.7259, allocations: 7.584 MB / 1.034 GB, free: 94.6 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)