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.001123/0.001124, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.745/1.745, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.002273/0.002274, allocations: 69.42 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2456, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00744/0.2531, allocations: 4.916 MB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.2577, allocations: 2.515 MB / 0.7914 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.2581, allocations: 31.75 kB / 0.7914 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.2594, allocations: 402 kB / 0.7918 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.2605, allocations: 441.6 kB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2615, allocations: 402 kB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2629, allocations: 0.925 MB / 0.7935 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.2636, allocations: 358.5 kB / 0.7938 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.2641, allocations: 342.6 kB / 0.7942 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.2646, allocations: 350.4 kB / 0.7945 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.2647, allocations: 36 kB / 0.7945 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.2655, allocations: 403.1 kB / 0.7949 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.2658, allocations: 171.5 kB / 0.7951 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.2661, allocations: 334.2 kB / 0.7954 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2672, allocations: 0.8875 MB / 0.7963 GB, free: 248 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2672, allocations: 0 / 0.7963 GB, free: 248 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2672, allocations: 0 / 0.7963 GB, free: 248 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.2672, allocations: 0 / 0.7963 GB, free: 248 kB / 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.001587/0.2688, allocations: 0.9502 MB / 0.7972 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2689, allocations: 8.031 kB / 0.7972 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.2701, allocations: 195.9 kB / 0.7974 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.271, allocations: 0.5567 MB / 0.7979 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2711, allocations: 37.36 kB / 0.798 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.2712, allocations: 44.36 kB / 0.798 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2722, allocations: 0.8485 MB / 0.7988 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.2723, allocations: 11.84 kB / 0.7989 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.2723, allocations: 23.98 kB / 0.7989 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.784e-05/0.2724, allocations: 68.95 kB / 0.7989 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.2732, allocations: 0.5616 MB / 0.7995 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.2787, allocations: 5.651 MB / 0.805 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.2794, allocations: 457.1 kB / 0.8054 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.2798, allocations: 228.7 kB / 0.8057 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.2798, allocations: 3.938 kB / 0.8057 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2799, allocations: 38.56 kB / 0.8057 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.2799, allocations: 0 / 0.8057 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002879/0.2828, allocations: 1.51 MB / 0.8072 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2828, allocations: 55.41 kB / 0.8072 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.2834, allocations: 0.4991 MB / 0.8077 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2834, allocations: 29.7 kB / 0.8077 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.2837, allocations: 358.8 kB / 0.8081 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.2838, allocations: 130.3 kB / 0.8082 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2839, allocations: 110.2 kB / 0.8083 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.2842, allocations: 362.8 kB / 0.8087 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.2845, allocations: 197.2 kB / 0.8089 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.2851, allocations: 451 kB / 0.8093 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/0.2859, allocations: 0.6808 MB / 0.81 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2859, allocations: 7.938 kB / 0.81 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001212/0.2872, allocations: 0.8059 MB / 0.8107 GB, free: 368 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2872, allocations: 16.06 kB / 0.8108 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2872, allocations: 8 kB / 0.8108 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.2878, allocations: 152.1 kB / 0.8109 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.2883, allocations: 127.7 kB / 0.811 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.2918, allocations: 4.348 MB / 0.8153 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.2922, allocations: 31.97 kB / 0.8153 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.2923, allocations: 28 kB / 0.8153 GB, free: 11.22 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.0002867/0.2926, allocations: 217.6 kB / 0.8155 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.2927, allocations: 63.25 kB / 0.8156 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2937, allocations: 0.6007 MB / 0.8162 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.2937, allocations: 4 kB / 0.8162 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2937, allocations: 4 kB / 0.8162 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2937, allocations: 4 kB / 0.8162 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.2956, allocations: 1.262 MB / 0.8174 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.2956, allocations: 4 kB / 0.8174 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.2959, allocations: 56.11 kB / 0.8175 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/0.2963, allocations: 140.1 kB / 0.8176 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2963, allocations: 11.94 kB / 0.8176 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.3, allocations: 4.333 MB / 0.8219 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.3, allocations: 7.938 kB / 0.8219 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3011, allocations: 0.712 MB / 0.8226 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3013, allocations: 172.3 kB / 0.8227 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.3014, allocations: 8 kB / 0.8227 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.3016, allocations: 19.97 kB / 0.8228 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.3017, allocations: 43.83 kB / 0.8228 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3018, allocations: 12 kB / 0.8228 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003468/0.3021, allocations: 338.8 kB / 0.8231 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3021, allocations: 0 / 0.8231 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006086/0.3027, allocations: 136 kB / 0.8233 GB, free: 2.465 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.0001484/0.3029, allocations: 119.1 kB / 0.8234 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.3044, allocations: 1.033 MB / 0.8244 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3044, allocations: 0 / 0.8244 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.3052, allocations: 0.7434 MB / 0.8251 GB, free: 408 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.3062, allocations: 208 kB / 0.8253 GB, free: 208 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3079, allocations: 1.04 MB / 0.8263 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3084, allocations: 0.9098 MB / 0.8272 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.3087, allocations: 113.3 kB / 0.8273 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.3088, allocations: 43.44 kB / 0.8274 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.3088, allocations: 0 / 0.8274 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.01284/0.3216, allocations: 7.6 MB / 0.8348 GB, free: 6.512 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)