Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001357/0.001357, allocations: 112.3 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.001228/0.001228, allocations: 198.6 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.359/1.359, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8176/0.8176, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 68.98 kB / 0.5912 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1489, allocations: 83.26 MB / 0.6725 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006515/0.1554, allocations: 4.417 MB / 0.6768 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005358/0.1608, allocations: 3.307 MB / 0.68 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.1612, allocations: 11.94 kB / 0.68 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.1629, allocations: 0.5134 MB / 0.6805 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.1641, allocations: 401.9 kB / 0.6809 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.1649, allocations: 251.4 kB / 0.6811 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008489/0.1657, allocations: 0.5917 MB / 0.6817 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.1663, allocations: 417.4 kB / 0.6821 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.1668, allocations: 299 kB / 0.6824 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.1673, allocations: 287 kB / 0.6827 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.1674, allocations: 40 kB / 0.6827 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.1679, allocations: 299.5 kB / 0.683 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.1681, allocations: 171.5 kB / 0.6832 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.1684, allocations: 234.9 kB / 0.6834 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.1694, allocations: 0.7902 MB / 0.6842 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1694, allocations: 0 / 0.6842 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1694, allocations: 8 kB / 0.6842 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1694, allocations: 0 / 0.6842 GB, free: 7.879 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001396/0.1708, allocations: 0.7824 MB / 0.6849 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1708, allocations: 8.031 kB / 0.6849 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.1736, allocations: 0.683 MB / 0.6856 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.1744, allocations: 444.1 kB / 0.686 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1745, allocations: 29.03 kB / 0.6861 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.1745, allocations: 36.11 kB / 0.6861 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1761, allocations: 0.7825 MB / 0.6869 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1762, allocations: 0 / 0.6869 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.1762, allocations: 19.98 kB / 0.6869 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.1763, allocations: 40.61 kB / 0.6869 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.1783, allocations: 0.8725 MB / 0.6878 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.1825, allocations: 2.812 MB / 0.6905 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.1842, allocations: 0.5097 MB / 0.691 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.1848, allocations: 256.6 kB / 0.6913 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.185, allocations: 85.11 kB / 0.6913 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.185, allocations: 34.5 kB / 0.6914 GB, free: 120 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/0.185, allocations: 0 / 0.6914 GB, free: 120 kB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.01226/0.1973, allocations: 3.071 MB / 0.6944 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1973, allocations: 55.41 kB / 0.6944 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.1979, allocations: 405.6 kB / 0.6948 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.1979, allocations: 29.7 kB / 0.6948 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.1982, allocations: 240.2 kB / 0.6951 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1983, allocations: 87.27 kB / 0.6952 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1984, allocations: 69.69 kB / 0.6952 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.1986, allocations: 350.8 kB / 0.6956 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.1995, allocations: 356.5 kB / 0.6959 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.2005, allocations: 433.4 kB / 0.6963 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.2024, allocations: 0.7634 MB / 0.6971 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2024, allocations: 0 / 0.6971 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005113/0.2075, allocations: 1.488 MB / 0.6985 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.2075, allocations: 15.92 kB / 0.6985 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2075, allocations: 0 / 0.6985 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/0.2112, allocations: 0.7663 MB / 0.6993 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.2119, allocations: 131.8 kB / 0.6994 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/0.2193, allocations: 4.845 MB / 0.7041 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.2202, allocations: 111.8 kB / 0.7042 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.2202, allocations: 16.05 kB / 0.7042 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001165/0.2214, allocations: 0.531 MB / 0.7048 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009824/0.2224, allocations: 416.2 kB / 0.7052 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001895/0.2243, allocations: 0.7217 MB / 0.7059 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.2243, allocations: 0 / 0.7059 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004366/0.2286, allocations: 1.278 MB / 0.7071 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2286, allocations: 4 kB / 0.7071 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2287, allocations: 7.938 kB / 0.7071 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.231, allocations: 0.4925 MB / 0.7076 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.2317, allocations: 139.8 kB / 0.7077 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.2355, allocations: 2.609 MB / 0.7103 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.2363, allocations: 107.8 kB / 0.7104 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2363, allocations: 19.98 kB / 0.7104 GB, free: 11.96 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.2366, allocations: 204.1 kB / 0.7106 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.2366, allocations: 35.77 kB / 0.7106 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.2412, allocations: 1.349 MB / 0.712 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2412, allocations: 7.984 kB / 0.712 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2412, allocations: 0 / 0.712 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2413, allocations: 0 / 0.712 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.2466, allocations: 1.991 MB / 0.7139 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2466, allocations: 4 kB / 0.7139 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2469, allocations: 75.84 kB / 0.714 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003058/0.25, allocations: 0.7078 MB / 0.7147 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.25, allocations: 15.94 kB / 0.7147 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/0.2563, allocations: 4.667 MB / 0.7192 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.2563, allocations: 4.031 kB / 0.7193 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/0.2605, allocations: 1.36 MB / 0.7206 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.2607, allocations: 164.9 kB / 0.7207 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.2608, allocations: 7.953 kB / 0.7207 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.2614, allocations: 83.84 kB / 0.7208 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.2615, allocations: 27.97 kB / 0.7209 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.2615, allocations: 8 kB / 0.7209 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004184/0.262, allocations: 307.1 kB / 0.7212 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.262, allocations: 0 / 0.7212 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008037/0.2628, allocations: 204 kB / 0.7213 GB, free: 344 kB / 0.545 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.2629, allocations: 114.1 kB / 0.7215 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003611/0.2666, allocations: 1.507 MB / 0.7229 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2666, allocations: 4 kB / 0.7229 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.2678, allocations: 0.6105 MB / 0.7235 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.2685, allocations: 134.7 kB / 0.7237 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.2705, allocations: 1.071 MB / 0.7247 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.2711, allocations: 0.9132 MB / 0.7256 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005496/0.2717, allocations: 151.2 kB / 0.7257 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2718, allocations: 35.41 kB / 0.7258 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.2718, allocations: 0 / 0.7258 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.02023/0.2921, allocations: 12.89 MB / 0.7384 GB, free: 14.84 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480]