Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009688, allocations: 102.8 kB / 16.4 MB, free: 6.504 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.001093/0.001093, allocations: 196 kB / 17.34 MB, free: 5.742 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6722/0.6722, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 65.41 kB / 0.5577 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.134, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01606/0.1501, allocations: 14.76 MB / 0.6465 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.1643, allocations: 10.34 MB / 0.6566 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.1657, allocations: 59.62 kB / 0.6567 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.1699, allocations: 1.691 MB / 0.6583 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.1746, allocations: 1.818 MB / 0.6601 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.1766, allocations: 0.75 MB / 0.6608 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003915/0.1806, allocations: 2.757 MB / 0.6635 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.1826, allocations: 1.427 MB / 0.6649 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.1848, allocations: 1.535 MB / 0.6664 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.1869, allocations: 1.152 MB / 0.6675 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004708/0.1873, allocations: 164 kB / 0.6677 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.1891, allocations: 0.7876 MB / 0.6684 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008006/0.1899, allocations: 0.6037 MB / 0.669 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.1915, allocations: 0.9561 MB / 0.67 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.1949, allocations: 2.765 MB / 0.6727 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1949, allocations: 0 / 0.6727 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1949, allocations: 3.938 kB / 0.6727 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.1949, allocations: 4 kB / 0.6727 GB, free: 10.7 MB / 0.5137 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.003675/0.1986, allocations: 2.166 MB / 0.6748 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1987, allocations: 8.031 kB / 0.6748 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.2099, allocations: 2.108 MB / 0.6769 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.2124, allocations: 1.303 MB / 0.6781 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.2125, allocations: 90.69 kB / 0.6782 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.2127, allocations: 120 kB / 0.6783 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/0.2181, allocations: 2.674 MB / 0.6809 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.2182, allocations: 7.938 kB / 0.6809 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.2183, allocations: 55.98 kB / 0.681 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006308/0.219, allocations: 190.1 kB / 0.6812 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007166/0.2261, allocations: 2.791 MB / 0.6839 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.2392, allocations: 10.46 MB / 0.6941 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.2455, allocations: 2.34 MB / 0.6964 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/0.2485, allocations: 1.28 MB / 0.6977 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.017e-05/0.2485, allocations: 16.92 kB / 0.6977 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.2486, allocations: 51.56 kB / 0.6977 GB, free: 136 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.2486, allocations: 0 / 0.6977 GB, free: 136 kB / 0.5294 GB Notification: Performance of matching and sorting (n=153): time 0.05682/0.3054, allocations: 16.48 MB / 0.7138 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3055, allocations: 68.72 kB / 0.7139 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.307, allocations: 1.176 MB / 0.715 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.3072, allocations: 53.7 kB / 0.7151 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.3076, allocations: 0.7398 MB / 0.7158 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.3081, allocations: 0.5159 MB / 0.7163 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.3086, allocations: 287.4 kB / 0.7166 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.3087, allocations: 309.1 kB / 0.7169 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/0.312, allocations: 1.51 MB / 0.7184 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.3155, allocations: 1.776 MB / 0.7201 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006867/0.3223, allocations: 3.373 MB / 0.7234 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3224, allocations: 7.938 kB / 0.7234 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01264/0.335, allocations: 5.273 MB / 0.7285 GB, free: 136 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3351, allocations: 11.98 kB / 0.7286 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3351, allocations: 8 kB / 0.7286 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.3415, allocations: 1.88 MB / 0.7304 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.3434, allocations: 411.3 kB / 0.7308 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3349/0.6783, allocations: 24.14 MB / 0.7544 GB, free: 95.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.6809, allocations: 304.2 kB / 0.7547 GB, free: 95.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.6811, allocations: 66.66 kB / 0.7547 GB, free: 95.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008088/0.6819, allocations: 459 kB / 0.7552 GB, free: 95.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.6822, allocations: 181 kB / 0.7553 GB, free: 95.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6956, allocations: 5.322 MB / 0.7605 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.6956, allocations: 14.94 kB / 0.7605 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.098e-05/0.6957, allocations: 22.31 kB / 0.7606 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6957, allocations: 7.344 kB / 0.7606 GB, free: 93.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.7117, allocations: 7.416 MB / 0.7678 GB, free: 91.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.7117, allocations: 2.75 kB / 0.7678 GB, free: 91.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.7134, allocations: 355 kB / 0.7681 GB, free: 91.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/0.7189, allocations: 1.71 MB / 0.7698 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.7191, allocations: 43.78 kB / 0.7699 GB, free: 90.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02057/0.7397, allocations: 23.3 MB / 0.7926 GB, free: 71.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.7397, allocations: 7.938 kB / 0.7926 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.7502, allocations: 4.902 MB / 0.7974 GB, free: 66.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/0.751, allocations: 496.5 kB / 0.7979 GB, free: 65.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.7513, allocations: 28 kB / 0.7979 GB, free: 65.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/0.7533, allocations: 315.5 kB / 0.7982 GB, free: 65.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/0.7538, allocations: 153 kB / 0.7984 GB, free: 65.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.7539, allocations: 55.97 kB / 0.7984 GB, free: 65.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000799/0.7547, allocations: 0.7899 MB / 0.7992 GB, free: 64.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7547, allocations: 0 / 0.7992 GB, free: 64.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001783/0.7565, allocations: 0.6562 MB / 0.7998 GB, free: 63.91 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/0.7568, allocations: 139.3 kB / 0.8 GB, free: 63.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009544/0.7663, allocations: 5.154 MB / 0.805 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.7664, allocations: 0 / 0.805 GB, free: 58.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005913/0.7723, allocations: 3.354 MB / 0.8083 GB, free: 55.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.7745, allocations: 0.5538 MB / 0.8088 GB, free: 54.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/0.7815, allocations: 4.312 MB / 0.813 GB, free: 50.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.7823, allocations: 1.561 MB / 0.8145 GB, free: 48.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001122/0.7835, allocations: 383.3 kB / 0.8149 GB, free: 48.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.7838, allocations: 111.4 kB / 0.815 GB, free: 48.16 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.7838, allocations: 0 / 0.815 GB, free: 48.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.04957/0.8334, allocations: 45.36 MB / 0.8593 GB, free: 3.301 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)