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.001092/0.001092, allocations: 109.3 kB / 15.99 MB, free: 6.348 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.001054/0.001054, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.387/1.387, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.656/1.656, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001425/0.001425, allocations: 69.58 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00571/0.2274, allocations: 4.923 MB / 0.7883 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.231, allocations: 2.515 MB / 0.7908 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.2313, allocations: 23.81 kB / 0.7908 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.2324, allocations: 362 kB / 0.7911 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000911/0.2333, allocations: 422 kB / 0.7916 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.2341, allocations: 363.4 kB / 0.7919 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000862/0.235, allocations: 0.929 MB / 0.7928 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.2355, allocations: 390.5 kB / 0.7932 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.2359, allocations: 350.5 kB / 0.7935 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.2363, allocations: 362.4 kB / 0.7939 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.2364, allocations: 40 kB / 0.7939 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006199/0.237, allocations: 395.1 kB / 0.7943 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.2372, allocations: 183.4 kB / 0.7944 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.2374, allocations: 322.2 kB / 0.7948 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.2381, allocations: 0.6742 MB / 0.7954 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2381, allocations: 3.938 kB / 0.7954 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2382, allocations: 0 / 0.7954 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.2382, allocations: 3.938 kB / 0.7954 GB, free: 1.664 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.001315/0.2395, allocations: 0.9541 MB / 0.7964 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2395, allocations: 12.02 kB / 0.7964 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.2407, allocations: 195.9 kB / 0.7966 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.2413, allocations: 0.4983 MB / 0.797 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.2414, allocations: 33.38 kB / 0.7971 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.2415, allocations: 44.36 kB / 0.7971 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2425, allocations: 0.8485 MB / 0.7979 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2425, allocations: 11.84 kB / 0.798 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.2426, allocations: 23.98 kB / 0.798 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.2427, allocations: 68.95 kB / 0.798 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.2434, allocations: 0.5656 MB / 0.7986 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.2474, allocations: 5.658 MB / 0.8041 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.248, allocations: 453.1 kB / 0.8046 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.2483, allocations: 232.7 kB / 0.8048 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.2483, allocations: 4 kB / 0.8048 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2484, allocations: 38.56 kB / 0.8048 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.2484, allocations: 0 / 0.8048 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002348/0.2507, allocations: 1.512 MB / 0.8063 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2508, allocations: 51.41 kB / 0.8063 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.2513, allocations: 0.4991 MB / 0.8068 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2513, allocations: 37.64 kB / 0.8069 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.2515, allocations: 362.8 kB / 0.8072 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.2516, allocations: 118.3 kB / 0.8073 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2517, allocations: 106.2 kB / 0.8074 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2519, allocations: 370.8 kB / 0.8078 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.2522, allocations: 193.2 kB / 0.808 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.2526, allocations: 447 kB / 0.8084 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.2533, allocations: 0.6886 MB / 0.8091 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2533, allocations: 0 / 0.8091 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001173/0.2545, allocations: 0.8173 MB / 0.8099 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2545, allocations: 8 kB / 0.8099 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2545, allocations: 8 kB / 0.8099 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.255, allocations: 156.5 kB / 0.81 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.2554, allocations: 123.7 kB / 0.8101 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.2586, allocations: 4.34 MB / 0.8144 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.259, allocations: 39.97 kB / 0.8144 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.2591, allocations: 24.12 kB / 0.8144 GB, free: 12.69 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.0002791/0.2593, allocations: 219.8 kB / 0.8146 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.2594, allocations: 59.25 kB / 0.8147 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/0.2604, allocations: 0.6124 MB / 0.8153 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2604, allocations: 4 kB / 0.8153 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2604, allocations: 3.938 kB / 0.8153 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2604, allocations: 3.984 kB / 0.8153 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.262, allocations: 1.254 MB / 0.8165 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.262, allocations: 4 kB / 0.8165 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2623, allocations: 55.89 kB / 0.8166 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004032/0.2627, allocations: 144.4 kB / 0.8167 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.2628, allocations: 15.88 kB / 0.8167 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.2657, allocations: 4.332 MB / 0.821 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.2658, allocations: 4.188 kB / 0.821 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.2667, allocations: 0.7197 MB / 0.8217 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.2669, allocations: 164.3 kB / 0.8218 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/0.267, allocations: 11.98 kB / 0.8219 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.2673, allocations: 27.97 kB / 0.8219 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.2673, allocations: 31.84 kB / 0.8219 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2674, allocations: 12 kB / 0.8219 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003355/0.2677, allocations: 338.8 kB / 0.8222 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2677, allocations: 0 / 0.8222 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006193/0.2683, allocations: 144 kB / 0.8224 GB, free: 3.918 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.0001441/0.2685, allocations: 115.1 kB / 0.8225 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.2699, allocations: 1.076 MB / 0.8235 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2699, allocations: 3.938 kB / 0.8235 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.2707, allocations: 0.7424 MB / 0.8243 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.2716, allocations: 206 kB / 0.8245 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2732, allocations: 1.307 MB / 0.8257 GB, free: 256 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2736, allocations: 0.9098 MB / 0.8266 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2737, allocations: 39.44 kB / 0.8267 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.2737, allocations: 8 kB / 0.8267 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.01895/0.2927, allocations: 18.31 MB / 0.8446 GB, free: 12.99 MB / 0.67 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)