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.001081/0.001081, allocations: 111.4 kB / 16.41 MB, free: 6.027 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.001136/0.001136, allocations: 189.9 kB / 17.34 MB, free: 5.633 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7471/0.7471, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.11 kB / 0.5577 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 76.18 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009932/0.1555, allocations: 6.713 MB / 0.6386 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006438/0.162, allocations: 3.036 MB / 0.6416 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.1626, allocations: 31.81 kB / 0.6416 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1651, allocations: 0.9555 MB / 0.6426 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.1663, allocations: 0.5168 MB / 0.6431 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1673, allocations: 426.2 kB / 0.6435 GB, free: 8.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.1685, allocations: 1.232 MB / 0.6447 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000859/0.1694, allocations: 0.6543 MB / 0.6453 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.1699, allocations: 482.3 kB / 0.6458 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.1705, allocations: 0.5137 MB / 0.6463 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.1706, allocations: 68 kB / 0.6463 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.1712, allocations: 383.2 kB / 0.6467 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.1715, allocations: 311.2 kB / 0.647 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.1719, allocations: 449.8 kB / 0.6474 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1731, allocations: 1.215 MB / 0.6486 GB, free: 3.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1731, allocations: 3.938 kB / 0.6486 GB, free: 3.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1731, allocations: 0 / 0.6486 GB, free: 3.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1731, allocations: 0 / 0.6486 GB, free: 3.512 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001843/0.175, allocations: 1.161 MB / 0.6498 GB, free: 2.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.175, allocations: 12.03 kB / 0.6498 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.1767, allocations: 239.6 kB / 0.65 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.1776, allocations: 0.5921 MB / 0.6506 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.1777, allocations: 45.67 kB / 0.6506 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1778, allocations: 72.27 kB / 0.6507 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.1794, allocations: 1.085 MB / 0.6517 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1795, allocations: 7.938 kB / 0.6518 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.1796, allocations: 31.98 kB / 0.6518 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.1797, allocations: 89.25 kB / 0.6519 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1809, allocations: 0.7504 MB / 0.6526 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00638/0.1873, allocations: 5.866 MB / 0.6583 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1884, allocations: 0.5599 MB / 0.6589 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.1889, allocations: 326 kB / 0.6592 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.189, allocations: 4.438 kB / 0.6592 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.189, allocations: 43 kB / 0.6592 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.189, allocations: 0 / 0.6592 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.004046/0.1931, allocations: 1.978 MB / 0.6612 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1931, allocations: 59.78 kB / 0.6612 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.1938, allocations: 0.5586 MB / 0.6618 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.1938, allocations: 37.7 kB / 0.6618 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.1943, allocations: 411 kB / 0.6622 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1944, allocations: 173.5 kB / 0.6624 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.1946, allocations: 118.6 kB / 0.6625 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003586/0.195, allocations: 374.7 kB / 0.6628 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.1955, allocations: 273.8 kB / 0.6631 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.1962, allocations: 0.4892 MB / 0.6636 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1972, allocations: 0.8055 MB / 0.6644 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1972, allocations: 4 kB / 0.6644 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001738/0.199, allocations: 1.099 MB / 0.6654 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.199, allocations: 8 kB / 0.6654 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.199, allocations: 4 kB / 0.6654 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/0.1999, allocations: 287.3 kB / 0.6657 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.2004, allocations: 123.8 kB / 0.6658 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007195/0.2076, allocations: 7.126 MB / 0.6728 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.2083, allocations: 43.95 kB / 0.6728 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.2084, allocations: 31.94 kB / 0.6729 GB, free: 9.09 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 (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.0004349/0.2089, allocations: 257.5 kB / 0.6731 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.209, allocations: 71.16 kB / 0.6732 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.2109, allocations: 0.8846 MB / 0.674 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.2109, allocations: 4 kB / 0.674 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2109, allocations: 4 kB / 0.6741 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2109, allocations: 7.984 kB / 0.6741 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.2138, allocations: 1.72 MB / 0.6757 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2138, allocations: 4.172 kB / 0.6757 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.2141, allocations: 71.88 kB / 0.6758 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007832/0.2149, allocations: 271.5 kB / 0.6761 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.2149, allocations: 12 kB / 0.6761 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00706/0.222, allocations: 7.118 MB / 0.683 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.222, allocations: 0 / 0.683 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.2237, allocations: 0.9796 MB / 0.684 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.2242, allocations: 192.3 kB / 0.6842 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.2243, allocations: 12 kB / 0.6842 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2247, allocations: 31.91 kB / 0.6842 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2249, allocations: 51.8 kB / 0.6843 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.2249, allocations: 16 kB / 0.6843 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005562/0.2255, allocations: 387.1 kB / 0.6847 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2255, allocations: 0 / 0.6847 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008515/0.2263, allocations: 220 kB / 0.6849 GB, free: 12.05 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 (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.0001765/0.2265, allocations: 115.2 kB / 0.685 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.2288, allocations: 1.279 MB / 0.6862 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2288, allocations: 0 / 0.6862 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.2301, allocations: 0.8935 MB / 0.6871 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2312, allocations: 227 kB / 0.6873 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.2337, allocations: 1.317 MB / 0.6886 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.2343, allocations: 1.009 MB / 0.6896 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.2347, allocations: 122 kB / 0.6897 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2348, allocations: 39.44 kB / 0.6897 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.2348, allocations: 0 / 0.6897 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of Templates: time 0.02295/0.2578, allocations: 11.31 MB / 0.7008 GB, free: 11.7 MB / 0.545 GB 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)