Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 111.7 kB / 16.41 MB, free: 6.48 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.001886/0.001886, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.8 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007435/0.1525, allocations: 6.061 MB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.1574, allocations: 3.16 MB / 0.6411 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.1578, allocations: 31.81 kB / 0.6411 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.1601, allocations: 0.9212 MB / 0.642 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1612, allocations: 0.4897 MB / 0.6425 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1623, allocations: 474.8 kB / 0.643 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1634, allocations: 1.1 MB / 0.644 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.1642, allocations: 0.6349 MB / 0.6446 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.1647, allocations: 442.3 kB / 0.6451 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.1652, allocations: 474.1 kB / 0.6455 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.1653, allocations: 64 kB / 0.6456 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.1661, allocations: 494.9 kB / 0.6461 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.1664, allocations: 279.3 kB / 0.6463 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.1668, allocations: 401.9 kB / 0.6467 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1679, allocations: 1.176 MB / 0.6478 GB, free: 4.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1679, allocations: 0 / 0.6478 GB, free: 4.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1679, allocations: 0 / 0.6478 GB, free: 4.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.1679, allocations: 0 / 0.6478 GB, free: 4.215 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001484/0.1694, allocations: 1.048 MB / 0.6489 GB, free: 3.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1695, allocations: 12.02 kB / 0.6489 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.171, allocations: 227.6 kB / 0.6491 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.1718, allocations: 0.5688 MB / 0.6497 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1719, allocations: 61.66 kB / 0.6497 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.172, allocations: 64.3 kB / 0.6498 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1733, allocations: 1.034 MB / 0.6508 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.1733, allocations: 11.84 kB / 0.6508 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.1734, allocations: 31.98 kB / 0.6508 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.1735, allocations: 65.27 kB / 0.6509 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.1745, allocations: 0.6957 MB / 0.6516 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.179, allocations: 5.725 MB / 0.6572 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.1798, allocations: 0.6055 MB / 0.6578 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.1806, allocations: 436.4 kB / 0.6582 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1807, allocations: 4 kB / 0.6582 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1807, allocations: 39.25 kB / 0.6582 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.1807, allocations: 0 / 0.6582 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004171/0.1849, allocations: 2.002 MB / 0.6602 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1849, allocations: 55.41 kB / 0.6602 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1854, allocations: 458.7 kB / 0.6607 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1854, allocations: 37.7 kB / 0.6607 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1856, allocations: 383 kB / 0.6611 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1858, allocations: 157.8 kB / 0.6612 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1859, allocations: 106.2 kB / 0.6613 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1861, allocations: 362.8 kB / 0.6617 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.1864, allocations: 245.1 kB / 0.6619 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.1869, allocations: 449 kB / 0.6623 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.1878, allocations: 0.7555 MB / 0.6631 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1878, allocations: 4 kB / 0.6631 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00182/0.1896, allocations: 1.046 MB / 0.6641 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1896, allocations: 13.81 kB / 0.6641 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1897, allocations: 4 kB / 0.6641 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.1907, allocations: 323.2 kB / 0.6644 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.191, allocations: 95.83 kB / 0.6645 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.1981, allocations: 7.48 MB / 0.6718 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.1985, allocations: 28.03 kB / 0.6718 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.1986, allocations: 28 kB / 0.6719 GB, free: 10.01 MB / 0.5137 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.1989, allocations: 245.6 kB / 0.6721 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.199, allocations: 63.28 kB / 0.6721 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.2007, allocations: 0.8843 MB / 0.673 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2007, allocations: 4.281 kB / 0.673 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2007, allocations: 4 kB / 0.673 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2007, allocations: 0 / 0.673 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.2033, allocations: 1.68 MB / 0.6747 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2033, allocations: 4 kB / 0.6747 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2035, allocations: 39.91 kB / 0.6747 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/0.2044, allocations: 307.3 kB / 0.675 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.2044, allocations: 8 kB / 0.675 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/0.2111, allocations: 7.467 MB / 0.6823 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.2111, allocations: 7.938 kB / 0.6823 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2128, allocations: 0.9951 MB / 0.6833 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.213, allocations: 172.4 kB / 0.6834 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.2131, allocations: 12 kB / 0.6835 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.2134, allocations: 23.97 kB / 0.6835 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.2135, allocations: 43.83 kB / 0.6835 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.2135, allocations: 12.28 kB / 0.6835 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003079/0.2138, allocations: 306.9 kB / 0.6838 GB, free: 13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2138, allocations: 0 / 0.6838 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007337/0.2146, allocations: 195.9 kB / 0.684 GB, free: 12.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.2147, allocations: 123.1 kB / 0.6841 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.2166, allocations: 1.195 MB / 0.6853 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2166, allocations: 0 / 0.6853 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.2178, allocations: 0.854 MB / 0.6861 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2188, allocations: 207 kB / 0.6863 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.2208, allocations: 1.225 MB / 0.6875 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.2214, allocations: 0.9882 MB / 0.6885 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.2217, allocations: 101.2 kB / 0.6886 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.2218, allocations: 35.44 kB / 0.6886 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2218, allocations: 0 / 0.6886 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.01652/0.2383, allocations: 9.951 MB / 0.6983 GB, free: 14.05 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)