Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 99.05 kB / 16.02 MB, free: 80 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.0008953/0.0008955, allocations: 181.4 kB / 16.92 MB, free: 6.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 77.54 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006091/0.1786, allocations: 4.784 MB / 0.5646 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006355/0.1851, allocations: 3.748 MB / 0.5683 GB, free: 496 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.1855, allocations: 11.94 kB / 0.5683 GB, free: 484 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1865, allocations: 231 kB / 0.5685 GB, free: 252 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.1878, allocations: 410.3 kB / 0.5689 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.1885, allocations: 246.6 kB / 0.5692 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1896, allocations: 0.9076 MB / 0.57 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.1909, allocations: 0.8372 MB / 0.5709 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.1913, allocations: 299 kB / 0.5711 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1917, allocations: 275 kB / 0.5714 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.1918, allocations: 16 kB / 0.5714 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.1924, allocations: 327.4 kB / 0.5717 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1925, allocations: 139.5 kB / 0.5719 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1928, allocations: 228.6 kB / 0.5721 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.1936, allocations: 0.8293 MB / 0.5729 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1936, allocations: 0 / 0.5729 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1936, allocations: 4 kB / 0.5729 GB, free: 11.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1936, allocations: 0 / 0.5729 GB, free: 11.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001301/0.1949, allocations: 0.7247 MB / 0.5736 GB, free: 10.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.195, allocations: 12.03 kB / 0.5736 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.1981, allocations: 0.6984 MB / 0.5743 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.1989, allocations: 464.4 kB / 0.5747 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1989, allocations: 25.02 kB / 0.5748 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-05/0.199, allocations: 32.12 kB / 0.5748 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.2008, allocations: 0.8473 MB / 0.5756 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2008, allocations: 3.938 kB / 0.5756 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.2008, allocations: 12 kB / 0.5756 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/0.201, allocations: 64.58 kB / 0.5757 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.2033, allocations: 0.9468 MB / 0.5766 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004076/0.2074, allocations: 2.886 MB / 0.5794 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.2093, allocations: 0.5799 MB / 0.58 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008583/0.2102, allocations: 316.6 kB / 0.5803 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.2103, allocations: 85.11 kB / 0.5804 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2103, allocations: 42.55 kB / 0.5804 GB, free: 3.641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.2103, allocations: 0 / 0.5804 GB, free: 3.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.3117/0.522, allocations: 4.017 MB / 0.5844 GB, free: 31.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.5221, allocations: 56.06 kB / 0.5844 GB, free: 30.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.5227, allocations: 429 kB / 0.5848 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5228, allocations: 34.77 kB / 0.5849 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.523, allocations: 238.4 kB / 0.5851 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.5232, allocations: 127.9 kB / 0.5852 GB, free: 30.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.5233, allocations: 38.61 kB / 0.5852 GB, free: 30.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.5234, allocations: 351.3 kB / 0.5856 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.5246, allocations: 446.7 kB / 0.586 GB, free: 30.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5258, allocations: 0.515 MB / 0.5865 GB, free: 30.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.5283, allocations: 0.9516 MB / 0.5874 GB, free: 30.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5283, allocations: 4.984 kB / 0.5874 GB, free: 30.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006856/0.5351, allocations: 1.892 MB / 0.5893 GB, free: 29.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.5352, allocations: 150.2 kB / 0.5894 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5353, allocations: 0.6875 kB / 0.5894 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004975/0.5402, allocations: 1.018 MB / 0.5904 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.541, allocations: 137.1 kB / 0.5906 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.5515, allocations: 6.185 MB / 0.5966 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.5525, allocations: 117.6 kB / 0.5967 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.5526, allocations: 15.36 kB / 0.5967 GB, free: 25.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5526, allocations: 6.75 kB / 0.5967 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005868/0.5585, allocations: 1.608 MB / 0.5983 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.5585, allocations: 2.719 kB / 0.5983 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003581/0.5621, allocations: 0.7459 MB / 0.599 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.563, allocations: 147.3 kB / 0.5992 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/0.5709, allocations: 5.415 MB / 0.6045 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/0.5718, allocations: 112.2 kB / 0.6046 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.5718, allocations: 16.44 kB / 0.6046 GB, free: 21.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.5723, allocations: 344.2 kB / 0.6049 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.5724, allocations: 39.44 kB / 0.6049 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/0.5781, allocations: 1.776 MB / 0.6067 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.5782, allocations: 7.812 kB / 0.6067 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5782, allocations: 2.156 kB / 0.6067 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5782, allocations: 0 / 0.6067 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/0.5852, allocations: 2.477 MB / 0.6091 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5852, allocations: 0.9375 kB / 0.6091 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.5856, allocations: 85.34 kB / 0.6092 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/0.5898, allocations: 0.9366 MB / 0.6101 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.5898, allocations: 11.06 kB / 0.6101 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008234/0.5981, allocations: 5.867 MB / 0.6158 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5981, allocations: 1.219 kB / 0.6158 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005175/0.6033, allocations: 1.729 MB / 0.6175 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.6037, allocations: 190.7 kB / 0.6177 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.6037, allocations: 14.81 kB / 0.6177 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.6044, allocations: 90.61 kB / 0.6178 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6046, allocations: 39.77 kB / 0.6179 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.6046, allocations: 15.39 kB / 0.6179 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004617/0.6051, allocations: 329.5 kB / 0.6182 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6051, allocations: 0 / 0.6182 GB, free: 12.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001175/0.6063, allocations: 255.9 kB / 0.6184 GB, free: 12.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.6065, allocations: 112.5 kB / 0.6185 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006329/0.6128, allocations: 2.527 MB / 0.621 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6128, allocations: 0 / 0.621 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.6152, allocations: 0.9697 MB / 0.622 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.616, allocations: 129.1 kB / 0.6221 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.618, allocations: 1.439 MB / 0.6235 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.6185, allocations: 0.9536 MB / 0.6244 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005422/0.6191, allocations: 152.9 kB / 0.6246 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6192, allocations: 36.56 kB / 0.6246 GB, free: 8.277 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6192, allocations: 0 / 0.6246 GB, free: 8.277 MB / 446.1 MB Notification: Performance of Templates: time 0.02127/0.6405, allocations: 15.78 MB / 0.64 GB, free: 8.68 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)