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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002081/0.002081, allocations: 191.2 kB / 16.14 MB, free: 6.711 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.527/1.527, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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.001315/0.001316, allocations: 69.95 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006188/0.2343, allocations: 4.927 MB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.2383, allocations: 2.546 MB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.2388, allocations: 23.81 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.2399, allocations: 358.5 kB / 0.7903 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.241, allocations: 410 kB / 0.7907 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.2418, allocations: 373.8 kB / 0.7911 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2428, allocations: 1.136 MB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.2433, allocations: 347.6 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.2437, allocations: 310.5 kB / 0.7928 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.2441, allocations: 350.4 kB / 0.7932 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.2442, allocations: 28 kB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007477/0.245, allocations: 499 kB / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2451, allocations: 175.4 kB / 0.7938 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.2454, allocations: 306.2 kB / 0.7941 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.2463, allocations: 0.8991 MB / 0.795 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2463, allocations: 0 / 0.795 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2464, allocations: 0 / 0.795 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2464, allocations: 0 / 0.795 GB, free: 1.352 MB / 0.6075 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.001486/0.2479, allocations: 0.9541 MB / 0.7959 GB, free: 352 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2479, allocations: 12.03 kB / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.2492, allocations: 195.9 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.2499, allocations: 0.4944 MB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2499, allocations: 29.38 kB / 0.7966 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.25, allocations: 52.34 kB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.251, allocations: 0.8524 MB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2511, allocations: 11.78 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.2511, allocations: 27.98 kB / 0.7976 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.545e-05/0.2512, allocations: 68.95 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.252, allocations: 0.5656 MB / 0.7982 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.2564, allocations: 5.651 MB / 0.8037 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.2571, allocations: 454.2 kB / 0.8041 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2574, allocations: 228.7 kB / 0.8043 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2574, allocations: 4 kB / 0.8043 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.2575, allocations: 38.55 kB / 0.8044 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.2575, allocations: 0 / 0.8044 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002525/0.26, allocations: 1.509 MB / 0.8059 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.26, allocations: 55.41 kB / 0.8059 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.2605, allocations: 0.5029 MB / 0.8064 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.2606, allocations: 29.7 kB / 0.8064 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.2608, allocations: 366.8 kB / 0.8068 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.2609, allocations: 110.4 kB / 0.8069 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.261, allocations: 114.2 kB / 0.807 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2612, allocations: 370.7 kB / 0.8073 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2615, allocations: 201.2 kB / 0.8075 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2619, allocations: 439 kB / 0.808 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.2626, allocations: 0.6889 MB / 0.8086 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2626, allocations: 4 kB / 0.8086 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001216/0.2638, allocations: 0.8094 MB / 0.8094 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2639, allocations: 8.188 kB / 0.8094 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2639, allocations: 12 kB / 0.8094 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004971/0.2644, allocations: 156 kB / 0.8096 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.2648, allocations: 123.8 kB / 0.8097 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.2681, allocations: 4.04 MB / 0.8137 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.2686, allocations: 35.97 kB / 0.8137 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.2686, allocations: 28 kB / 0.8137 GB, free: 12.7 MB / 0.6387 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.0002754/0.2689, allocations: 216 kB / 0.8139 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.269, allocations: 63.19 kB / 0.814 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.27, allocations: 0.601 MB / 0.8146 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.27, allocations: 4 kB / 0.8146 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2701, allocations: 4 kB / 0.8146 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2701, allocations: 7.922 kB / 0.8146 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2718, allocations: 1.257 MB / 0.8158 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2718, allocations: 3.984 kB / 0.8158 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.272, allocations: 59.89 kB / 0.8159 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.2725, allocations: 140.3 kB / 0.816 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.2725, allocations: 8 kB / 0.816 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.2753, allocations: 4.036 MB / 0.82 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2754, allocations: 0 / 0.82 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.2763, allocations: 0.7155 MB / 0.8207 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.2765, allocations: 164.3 kB / 0.8208 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.2766, allocations: 11.94 kB / 0.8208 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2768, allocations: 23.97 kB / 0.8208 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2769, allocations: 31.89 kB / 0.8209 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.2769, allocations: 12 kB / 0.8209 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003518/0.2773, allocations: 346.8 kB / 0.8212 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2773, allocations: 0 / 0.8212 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008787/0.2782, allocations: 140 kB / 0.8214 GB, free: 4.266 MB / 0.6387 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.0001804/0.2784, allocations: 115.1 kB / 0.8215 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.2802, allocations: 1.029 MB / 0.8225 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2803, allocations: 4 kB / 0.8225 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2813, allocations: 0.7424 MB / 0.8232 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.2827, allocations: 189.4 kB / 0.8234 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.285, allocations: 1.258 MB / 0.8246 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.2857, allocations: 0.9059 MB / 0.8255 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005002/0.2862, allocations: 125.3 kB / 0.8256 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2864, allocations: 39.44 kB / 0.8256 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.2864, allocations: 0 / 0.8256 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.0197/0.3061, allocations: 7.365 MB / 0.8328 GB, free: 8.34 MB / 0.6544 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)