Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.001017/0.001017, allocations: 185.8 kB / 372.9 MB, free: 10.16 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.728/1.728, allocations: 205.4 MB / 0.6317 GB, free: 9.883 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.0008289/0.0008288, allocations: 100.1 kB / 0.7451 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 11.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2205, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6634/0.8839, allocations: 209.6 MB / 1.185 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.8843, allocations: 100.9 kB / 1.186 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1958/1.08, allocations: 85.47 MB / 1.269 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.763e-06/1.08, allocations: 4 kB / 1.269 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001117/1.08, allocations: 39.94 kB / 1.269 GB, free: 10.57 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003429/1.084, allocations: 1.844 MB / 1.271 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.084, allocations: 8.031 kB / 1.271 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/1.095, allocations: 1.974 MB / 1.273 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/1.099, allocations: 1.563 MB / 1.274 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/1.1, allocations: 86.31 kB / 1.274 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/1.1, allocations: 123.8 kB / 1.275 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/1.106, allocations: 2.733 MB / 1.277 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/1.106, allocations: 7.875 kB / 1.277 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.106, allocations: 63.91 kB / 1.277 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.106, allocations: 98.27 kB / 1.277 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/1.114, allocations: 2.842 MB / 1.28 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/1.129, allocations: 10.74 MB / 1.291 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/1.136, allocations: 2.389 MB / 1.293 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.139, allocations: 1.305 MB / 1.294 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/1.139, allocations: 9 kB / 1.294 GB, free: 15.86 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.139, allocations: 55.5 kB / 1.294 GB, free: 15.79 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.995e-06/1.139, allocations: 0 / 1.294 GB, free: 15.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.06107/1.2, allocations: 17.34 MB / 1.311 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/1.2, allocations: 222.9 kB / 1.311 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.202, allocations: 1.18 MB / 1.313 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/1.202, allocations: 49.7 kB / 1.313 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/1.203, allocations: 0.7321 MB / 1.313 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/1.203, allocations: 0.5198 MB / 1.314 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.204, allocations: 24 kB / 1.314 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.204, allocations: 369.9 kB / 1.314 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/1.207, allocations: 1.538 MB / 1.316 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/1.211, allocations: 1.832 MB / 1.318 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/1.218, allocations: 3.405 MB / 1.321 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.218, allocations: 8 kB / 1.321 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01431/1.233, allocations: 5.409 MB / 1.326 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.233, allocations: 8.75 kB / 1.326 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.233, allocations: 4 kB / 1.326 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008447/1.241, allocations: 2.139 MB / 1.328 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.243, allocations: 419.3 kB / 1.329 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0293/1.272, allocations: 22.58 MB / 1.351 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.275, allocations: 327.4 kB / 1.351 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/1.276, allocations: 63.97 kB / 1.351 GB, free: 4.098 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001112/1.277, allocations: 464.1 kB / 1.351 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.277, allocations: 185.9 kB / 1.352 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/1.292, allocations: 5.484 MB / 1.357 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.292, allocations: 16 kB / 1.357 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-05/1.292, allocations: 19.98 kB / 1.357 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.292, allocations: 11.97 kB / 1.357 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.311, allocations: 7.684 MB / 1.365 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.311, allocations: 0 / 1.365 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.313, allocations: 367.7 kB / 1.365 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007862/1.321, allocations: 1.998 MB / 1.367 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002604/1.321, allocations: 43.97 kB / 1.367 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02753/1.349, allocations: 21.75 MB / 1.388 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.349, allocations: 4.031 kB / 1.388 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.362, allocations: 5.092 MB / 1.393 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.364, allocations: 0.5066 MB / 1.394 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.364, allocations: 32 kB / 1.394 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.366, allocations: 335.5 kB / 1.394 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/1.367, allocations: 145 kB / 1.394 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.367, allocations: 55.97 kB / 1.394 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001249/1.368, allocations: 0.7977 MB / 1.395 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 0 / 1.395 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002525/1.371, allocations: 0.7225 MB / 1.396 GB, free: 5.051 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004642/1.371, allocations: 215.2 kB / 1.396 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.383, allocations: 5.206 MB / 1.401 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.383, allocations: 3.906 kB / 1.401 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007704/1.391, allocations: 3.398 MB / 1.404 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.394, allocations: 0.51 MB / 1.405 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/1.403, allocations: 4.875 MB / 1.41 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.405, allocations: 1.565 MB / 1.411 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001761/1.407, allocations: 402.7 kB / 1.411 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.407, allocations: 111.4 kB / 1.412 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/1.407, allocations: 0 / 1.412 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of Templates: time 0.4734/1.88, allocations: 44.6 MB / 1.455 GB, free: 282.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)