Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001341/0.001341, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.345/1.345, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7795/0.7795, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.98 kB / 0.5912 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 83.26 MB / 0.6725 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007386/0.1724, allocations: 5.134 MB / 0.6775 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.1779, allocations: 3.397 MB / 0.6808 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.1783, allocations: 11.94 kB / 0.6808 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.18, allocations: 0.5242 MB / 0.6813 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1812, allocations: 402 kB / 0.6817 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.1819, allocations: 267.3 kB / 0.682 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1831, allocations: 0.6464 MB / 0.6826 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.1838, allocations: 421.4 kB / 0.683 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.1842, allocations: 291.1 kB / 0.6833 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.1847, allocations: 314.9 kB / 0.6836 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.1847, allocations: 44 kB / 0.6836 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.1853, allocations: 311.5 kB / 0.6839 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1855, allocations: 183.5 kB / 0.6841 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.1858, allocations: 238.9 kB / 0.6843 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.1868, allocations: 0.8293 MB / 0.6851 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1868, allocations: 0 / 0.6851 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1868, allocations: 0 / 0.6851 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1868, allocations: 4 kB / 0.6851 GB, free: 7.012 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001442/0.1882, allocations: 0.8136 MB / 0.6859 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1882, allocations: 8.625 kB / 0.6859 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.1911, allocations: 0.6947 MB / 0.6866 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.1919, allocations: 472 kB / 0.6871 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1919, allocations: 21.03 kB / 0.6871 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.192, allocations: 32.12 kB / 0.6871 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.1937, allocations: 0.8395 MB / 0.6879 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1937, allocations: 4 kB / 0.6879 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1937, allocations: 11.98 kB / 0.6879 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.1939, allocations: 56.59 kB / 0.688 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.196, allocations: 0.9388 MB / 0.6889 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.2002, allocations: 2.859 MB / 0.6917 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.2018, allocations: 0.537 MB / 0.6922 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.2025, allocations: 293.7 kB / 0.6925 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.2026, allocations: 89.11 kB / 0.6926 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2027, allocations: 30.56 kB / 0.6926 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.2027, allocations: 0 / 0.6926 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.01305/0.2157, allocations: 3.498 MB / 0.696 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2158, allocations: 55.41 kB / 0.6961 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.2163, allocations: 408.4 kB / 0.6965 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.2163, allocations: 29.7 kB / 0.6965 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2165, allocations: 232.3 kB / 0.6967 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2166, allocations: 119 kB / 0.6968 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2168, allocations: 81.64 kB / 0.6969 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.217, allocations: 350.8 kB / 0.6973 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.2179, allocations: 392.5 kB / 0.6976 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009829/0.2189, allocations: 464.2 kB / 0.6981 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.2208, allocations: 0.8392 MB / 0.6989 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2208, allocations: 0 / 0.6989 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005357/0.2261, allocations: 1.646 MB / 0.7005 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2262, allocations: 7.938 kB / 0.7005 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2262, allocations: 4 kB / 0.7005 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/0.2301, allocations: 0.8725 MB / 0.7014 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.2308, allocations: 135.8 kB / 0.7015 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/0.2399, allocations: 6.678 MB / 0.708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.2407, allocations: 107.8 kB / 0.7081 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.2408, allocations: 19.98 kB / 0.7081 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/0.242, allocations: 0.5699 MB / 0.7087 GB, free: 13.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009982/0.243, allocations: 468.1 kB / 0.7091 GB, free: 13.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001949/0.2449, allocations: 0.8114 MB / 0.7099 GB, free: 12.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.2449, allocations: 0 / 0.7099 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004848/0.2498, allocations: 1.63 MB / 0.7115 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2498, allocations: 8 kB / 0.7115 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2498, allocations: 3.938 kB / 0.7115 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/0.2525, allocations: 0.6551 MB / 0.7122 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.2532, allocations: 131.8 kB / 0.7123 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.2609, allocations: 7.296 MB / 0.7194 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.2617, allocations: 107.8 kB / 0.7195 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.2617, allocations: 20.06 kB / 0.7195 GB, free: 2.082 MB / 0.545 GB 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.2619, allocations: 196.5 kB / 0.7197 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.262, allocations: 47.69 kB / 0.7198 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.2669, allocations: 1.544 MB / 0.7213 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.2669, allocations: 4 kB / 0.7213 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2669, allocations: 0 / 0.7213 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2669, allocations: 0 / 0.7213 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.2726, allocations: 2.185 MB / 0.7234 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2726, allocations: 4 kB / 0.7234 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.273, allocations: 79.83 kB / 0.7235 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/0.2764, allocations: 0.8139 MB / 0.7243 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.2764, allocations: 8 kB / 0.7243 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008002/0.2844, allocations: 6.516 MB / 0.7307 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2844, allocations: 0 / 0.7307 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.289, allocations: 1.53 MB / 0.7322 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.2892, allocations: 168.8 kB / 0.7323 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.2893, allocations: 11.98 kB / 0.7323 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.2899, allocations: 87.73 kB / 0.7324 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2901, allocations: 31.97 kB / 0.7324 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2901, allocations: 11.98 kB / 0.7325 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004233/0.2905, allocations: 315.1 kB / 0.7328 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2905, allocations: 0 / 0.7328 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009244/0.2915, allocations: 239.9 kB / 0.733 GB, free: 3.719 MB / 0.5606 GB 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.2916, allocations: 115.2 kB / 0.7331 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004479/0.2961, allocations: 2.158 MB / 0.7352 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2961, allocations: 0 / 0.7352 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.2975, allocations: 0.7888 MB / 0.736 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.2982, allocations: 117.3 kB / 0.7361 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3003, allocations: 1.152 MB / 0.7372 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.3009, allocations: 0.9297 MB / 0.7381 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005228/0.3014, allocations: 179.1 kB / 0.7383 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3015, allocations: 31.42 kB / 0.7383 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.3015, allocations: 0 / 0.7383 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.293/0.5945, allocations: 15.11 MB / 0.7531 GB, free: 75.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480]