Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 180.5 kB / 16.92 MB, free: 6.754 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.473/1.473, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.000378, allocations: 15.98 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, allocations: 77.53 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008345/0.2036, allocations: 6.3 MB / 0.5661 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.2092, allocations: 2.997 MB / 0.569 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.21, allocations: 19.88 kB / 0.5691 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.2106, allocations: 134.9 kB / 0.5692 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2122, allocations: 473.7 kB / 0.5696 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2136, allocations: 396.3 kB / 0.57 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.2161, allocations: 1.583 MB / 0.5716 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.2183, allocations: 1.015 MB / 0.5726 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/0.2192, allocations: 398.3 kB / 0.5729 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009602/0.2202, allocations: 0.4902 MB / 0.5734 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.2204, allocations: 36 kB / 0.5735 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.2214, allocations: 439.1 kB / 0.5739 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.2219, allocations: 271.2 kB / 0.5741 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000853/0.2228, allocations: 431.5 kB / 0.5745 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.2247, allocations: 1.187 MB / 0.5757 GB, free: 8.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2247, allocations: 0 / 0.5757 GB, free: 8.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2247, allocations: 0 / 0.5757 GB, free: 8.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.826e-05/0.2247, allocations: 0 / 0.5757 GB, free: 8.816 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002453/0.2272, allocations: 0.9934 MB / 0.5767 GB, free: 7.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2273, allocations: 12.03 kB / 0.5767 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.2291, allocations: 243.5 kB / 0.5769 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.2301, allocations: 0.5453 MB / 0.5775 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.2302, allocations: 45.67 kB / 0.5775 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.2304, allocations: 68.31 kB / 0.5776 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.2322, allocations: 1.089 MB / 0.5786 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.2322, allocations: 7.938 kB / 0.5786 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.2323, allocations: 35.92 kB / 0.5787 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.2325, allocations: 85.25 kB / 0.5787 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2338, allocations: 0.7543 MB / 0.5795 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3556/0.5894, allocations: 5.885 MB / 0.5852 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.5907, allocations: 0.5539 MB / 0.5858 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.5913, allocations: 327.9 kB / 0.5861 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.5914, allocations: 4.906 kB / 0.5861 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5914, allocations: 39.2 kB / 0.5861 GB, free: 28.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.5914, allocations: 0.875 kB / 0.5861 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.004175/0.5956, allocations: 2 MB / 0.5881 GB, free: 27.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5956, allocations: 57.78 kB / 0.5881 GB, free: 27.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.5964, allocations: 0.5546 MB / 0.5887 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.5965, allocations: 36.2 kB / 0.5887 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5967, allocations: 422.3 kB / 0.5891 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.5968, allocations: 167.9 kB / 0.5893 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.5969, allocations: 61.53 kB / 0.5893 GB, free: 26.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5971, allocations: 374.5 kB / 0.5897 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.5975, allocations: 275.3 kB / 0.59 GB, free: 26.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.5981, allocations: 497 kB / 0.5904 GB, free: 25.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.5992, allocations: 0.8121 MB / 0.5912 GB, free: 25.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5992, allocations: 2.125 kB / 0.5912 GB, free: 25.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002599/0.6018, allocations: 1.086 MB / 0.5923 GB, free: 24.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.6019, allocations: 12.95 kB / 0.5923 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.6019, allocations: 6.844 kB / 0.5923 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.6031, allocations: 274.8 kB / 0.5926 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.6038, allocations: 123.5 kB / 0.5927 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/0.6115, allocations: 6.602 MB / 0.5991 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/0.6125, allocations: 39.61 kB / 0.5992 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.6126, allocations: 27.44 kB / 0.5992 GB, free: 18.88 MB / 446.1 MB 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.6131, allocations: 255.2 kB / 0.5994 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.6133, allocations: 76.27 kB / 0.5995 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6152, allocations: 0.8827 MB / 0.6004 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.6152, allocations: 9.922 kB / 0.6004 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6152, allocations: 5.625 kB / 0.6004 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6152, allocations: 3.047 kB / 0.6004 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.6182, allocations: 1.728 MB / 0.6021 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6182, allocations: 1.906 kB / 0.6021 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.6185, allocations: 60.16 kB / 0.6021 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/0.6193, allocations: 271 kB / 0.6024 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6193, allocations: 15.41 kB / 0.6024 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.6248, allocations: 6.59 MB / 0.6088 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6249, allocations: 7.234 kB / 0.6088 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.6265, allocations: 0.978 MB / 0.6098 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.6267, allocations: 195.5 kB / 0.61 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.6268, allocations: 8.25 kB / 0.61 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.6272, allocations: 34.53 kB / 0.61 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.6273, allocations: 46.08 kB / 0.6101 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.6274, allocations: 15.25 kB / 0.6101 GB, free: 10.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.6278, allocations: 388.8 kB / 0.6105 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6278, allocations: 0 / 0.6105 GB, free: 10.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008997/0.6287, allocations: 221.2 kB / 0.6107 GB, free: 10.63 MB / 446.1 MB 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.6289, allocations: 112.2 kB / 0.6108 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.6308, allocations: 1.27 MB / 0.612 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6308, allocations: 1.312 kB / 0.612 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.632, allocations: 0.8956 MB / 0.6129 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6331, allocations: 210.4 kB / 0.6131 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.6354, allocations: 1.654 MB / 0.6147 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.636, allocations: 1.011 MB / 0.6157 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.6364, allocations: 121.8 kB / 0.6158 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6365, allocations: 41.91 kB / 0.6159 GB, free: 7.332 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6365, allocations: 3.938 kB / 0.6159 GB, free: 7.328 MB / 446.1 MB Notification: Performance of Templates: time 0.02092/0.6575, allocations: 10.59 MB / 0.6262 GB, free: 2.914 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)