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.001111/0.00111, allocations: 102.6 kB / 16.4 MB, free: 6.449 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.001183/0.001183, allocations: 196 kB / 17.34 MB, free: 5.719 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 64.78 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.132, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007603/0.1397, allocations: 6.715 MB / 0.6386 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.1439, allocations: 3.044 MB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.1442, allocations: 23.88 kB / 0.6416 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.1464, allocations: 0.9485 MB / 0.6426 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.1473, allocations: 0.5051 MB / 0.6431 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.1482, allocations: 423.1 kB / 0.6435 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1492, allocations: 1.224 MB / 0.6446 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.15, allocations: 0.6582 MB / 0.6453 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.1505, allocations: 482.3 kB / 0.6458 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.1511, allocations: 0.5175 MB / 0.6463 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.1512, allocations: 68 kB / 0.6463 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.1517, allocations: 379.2 kB / 0.6467 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.152, allocations: 307.2 kB / 0.647 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.1523, allocations: 453.7 kB / 0.6474 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1534, allocations: 1.211 MB / 0.6486 GB, free: 3.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1534, allocations: 0 / 0.6486 GB, free: 3.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1534, allocations: 0 / 0.6486 GB, free: 3.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1534, allocations: 0 / 0.6486 GB, free: 3.434 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.001646/0.1551, allocations: 1.165 MB / 0.6497 GB, free: 2.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1551, allocations: 12.03 kB / 0.6497 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.1566, allocations: 235.6 kB / 0.65 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.1573, allocations: 0.5921 MB / 0.6505 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1574, allocations: 49.61 kB / 0.6506 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.1575, allocations: 72.27 kB / 0.6507 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.1588, allocations: 1.085 MB / 0.6517 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1588, allocations: 7.938 kB / 0.6517 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.1589, allocations: 40.06 kB / 0.6518 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.159, allocations: 81.25 kB / 0.6518 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1601, allocations: 0.7504 MB / 0.6526 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.1645, allocations: 5.87 MB / 0.6583 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.1654, allocations: 0.5522 MB / 0.6588 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.1658, allocations: 330 kB / 0.6592 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1659, allocations: 8.375 kB / 0.6592 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1659, allocations: 39 kB / 0.6592 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.442e-06/0.1659, allocations: 0 / 0.6592 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003389/0.1693, allocations: 1.982 MB / 0.6611 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1693, allocations: 59.83 kB / 0.6612 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.1699, allocations: 0.5508 MB / 0.6617 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.1699, allocations: 37.7 kB / 0.6618 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1701, allocations: 411 kB / 0.6622 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.1703, allocations: 177.5 kB / 0.6623 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.1704, allocations: 122.5 kB / 0.6625 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1706, allocations: 386.6 kB / 0.6628 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.171, allocations: 269.8 kB / 0.6631 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.1715, allocations: 489 kB / 0.6635 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.1724, allocations: 0.8093 MB / 0.6643 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1724, allocations: 4 kB / 0.6643 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001604/0.174, allocations: 1.094 MB / 0.6654 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.174, allocations: 8 kB / 0.6654 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.174, allocations: 7.938 kB / 0.6654 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007508/0.1748, allocations: 287.8 kB / 0.6657 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.1752, allocations: 123.8 kB / 0.6658 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.1812, allocations: 7.126 MB / 0.6728 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.1818, allocations: 43.95 kB / 0.6728 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1818, allocations: 28.19 kB / 0.6728 GB, free: 9.008 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.0003309/0.1821, allocations: 261.5 kB / 0.6731 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1823, allocations: 71.16 kB / 0.6732 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.1837, allocations: 0.8924 MB / 0.674 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1837, allocations: 4 kB / 0.674 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1838, allocations: 4 kB / 0.674 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1838, allocations: 3.984 kB / 0.674 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.1861, allocations: 1.717 MB / 0.6757 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1861, allocations: 0 / 0.6757 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1863, allocations: 71.81 kB / 0.6758 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/0.187, allocations: 267.3 kB / 0.676 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.187, allocations: 12 kB / 0.6761 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.1931, allocations: 7.118 MB / 0.683 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1931, allocations: 0 / 0.683 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.1947, allocations: 0.9836 MB / 0.684 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.195, allocations: 192.2 kB / 0.6842 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.1951, allocations: 12.14 kB / 0.6842 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.1954, allocations: 32.03 kB / 0.6842 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1955, allocations: 55.84 kB / 0.6842 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.1956, allocations: 19.94 kB / 0.6843 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003792/0.1959, allocations: 391.1 kB / 0.6846 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1959, allocations: 0 / 0.6846 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000729/0.1967, allocations: 220 kB / 0.6848 GB, free: 11.96 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.0001482/0.1968, allocations: 111.2 kB / 0.685 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.1986, allocations: 1.275 MB / 0.6862 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1986, allocations: 0 / 0.6862 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.1997, allocations: 0.8975 MB / 0.6871 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.2006, allocations: 218.6 kB / 0.6873 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2026, allocations: 1.319 MB / 0.6886 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.2032, allocations: 1.005 MB / 0.6896 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000312/0.2035, allocations: 126 kB / 0.6897 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2036, allocations: 39.44 kB / 0.6897 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.2036, allocations: 0 / 0.6897 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of Templates: time 0.0167/0.2203, allocations: 11.31 MB / 0.7008 GB, free: 11.61 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)