Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.88/1.88, allocations: 287.5 MB / 302.6 MB, free: 8.344 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.00121/0.00121, allocations: 184.3 kB / 371.2 MB, free: 10.82 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.884/1.884, allocations: 205.4 MB / 0.6299 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008655, allocations: 101 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005669/0.0005669, allocations: 14.94 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2558, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004301/0.2602, allocations: 4.303 MB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.2637, allocations: 2.372 MB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.2645, allocations: 27.75 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.2649, allocations: 87.2 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.2662, allocations: 350.1 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2673, allocations: 304.5 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.2686, allocations: 0.9835 MB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2698, allocations: 473.4 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.2706, allocations: 286.7 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.2714, allocations: 330.6 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.2715, allocations: 20 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.2723, allocations: 195.7 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.2726, allocations: 155.5 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.2729, allocations: 141.3 kB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009526/0.2739, allocations: 0.6469 MB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2739, allocations: 0 / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2739, allocations: 4 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.931e-05/0.274, allocations: 0 / 0.9891 GB, free: 17.48 MB / 0.6198 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.001658/0.2756, allocations: 0.8335 MB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2757, allocations: 12.03 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.2769, allocations: 203.8 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.2776, allocations: 0.4943 MB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2777, allocations: 37.36 kB / 0.9906 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.2777, allocations: 44.36 kB / 0.9906 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008977/0.2786, allocations: 0.8409 MB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2787, allocations: 11.94 kB / 0.9915 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.2787, allocations: 23.98 kB / 0.9915 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/0.2788, allocations: 60.95 kB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.2795, allocations: 0.5733 MB / 0.9921 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.2827, allocations: 5.647 MB / 0.9976 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.2832, allocations: 454.2 kB / 0.9981 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2834, allocations: 224.7 kB / 0.9983 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2835, allocations: 4 kB / 0.9983 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2835, allocations: 42.55 kB / 0.9983 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/0.2835, allocations: 0 / 0.9983 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002274/0.2858, allocations: 1.507 MB / 0.9998 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2859, allocations: 63.39 kB / 0.9999 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.2863, allocations: 0.4912 MB / 1 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2863, allocations: 33.64 kB / 1 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2865, allocations: 362.8 kB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.2865, allocations: 126.3 kB / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.2866, allocations: 12 kB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.2867, allocations: 362.8 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.2869, allocations: 197.2 kB / 1.001 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.2872, allocations: 439 kB / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.2879, allocations: 0.6836 MB / 1.002 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2879, allocations: 4 kB / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009986/0.2889, allocations: 0.8016 MB / 1.003 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2889, allocations: 12 kB / 1.003 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2889, allocations: 8 kB / 1.003 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.2894, allocations: 160.6 kB / 1.003 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.2898, allocations: 123.8 kB / 1.004 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.2929, allocations: 4.036 MB / 1.007 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.2932, allocations: 31.97 kB / 1.008 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2933, allocations: 28 kB / 1.008 GB, free: 13.08 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.2936, allocations: 213 kB / 1.008 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/0.2936, allocations: 63.34 kB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.2946, allocations: 0.6046 MB / 1.008 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2946, allocations: 7.984 kB / 1.008 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2946, allocations: 0 / 1.008 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2946, allocations: 3.938 kB / 1.008 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.2965, allocations: 1.257 MB / 1.01 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2965, allocations: 4 kB / 1.01 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.2967, allocations: 55.89 kB / 1.01 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.2971, allocations: 144.3 kB / 1.01 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.2971, allocations: 8 kB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.3002, allocations: 4.025 MB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3002, allocations: 4.031 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.3012, allocations: 0.7008 MB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.3014, allocations: 168.3 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.3015, allocations: 15.88 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3018, allocations: 31.97 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.3019, allocations: 31.89 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3019, allocations: 12 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003661/0.3022, allocations: 334.8 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3023, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005949/0.3029, allocations: 140 kB / 1.015 GB, free: 4.68 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.303, allocations: 111.1 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.3045, allocations: 1.036 MB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3045, allocations: 4.875 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.3054, allocations: 0.7384 MB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3065, allocations: 183 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3084, allocations: 1.224 MB / 1.018 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.309, allocations: 0.9098 MB / 1.019 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.3094, allocations: 125.3 kB / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.3095, allocations: 43.38 kB / 1.019 GB, free: 60 kB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.3095, allocations: 0 / 1.019 GB, free: 60 kB / 0.6355 GB Notification: Performance of Templates: time 0.01411/0.3236, allocations: 7.054 MB / 1.026 GB, free: 9.09 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)