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.0009855/0.0009856, allocations: 112 kB / 16.41 MB, free: 6.438 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.0009488/0.0009492, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6663/0.6663, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.14 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1356, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006786/0.1425, allocations: 6.062 MB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.1471, allocations: 3.156 MB / 0.6411 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.1475, allocations: 31.81 kB / 0.6411 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.1497, allocations: 0.9277 MB / 0.642 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1507, allocations: 469.6 kB / 0.6425 GB, free: 9.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1518, allocations: 485.6 kB / 0.6429 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.153, allocations: 1.1 MB / 0.644 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.1539, allocations: 0.6388 MB / 0.6446 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.1545, allocations: 434.4 kB / 0.645 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.1551, allocations: 474.2 kB / 0.6455 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.795e-05/0.1552, allocations: 60 kB / 0.6456 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009798/0.1562, allocations: 494.9 kB / 0.646 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.1565, allocations: 283.3 kB / 0.6463 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.1569, allocations: 402 kB / 0.6467 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1582, allocations: 1.164 MB / 0.6478 GB, free: 4.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1582, allocations: 7.984 kB / 0.6478 GB, free: 4.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1582, allocations: 0 / 0.6478 GB, free: 4.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1582, allocations: 0 / 0.6478 GB, free: 4.246 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.001662/0.1599, allocations: 1.052 MB / 0.6488 GB, free: 3.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1599, allocations: 8.031 kB / 0.6489 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.1614, allocations: 223.6 kB / 0.6491 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.1622, allocations: 0.5805 MB / 0.6496 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.1622, allocations: 53.67 kB / 0.6497 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.1623, allocations: 60.36 kB / 0.6497 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.1636, allocations: 1.034 MB / 0.6508 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.1636, allocations: 11.84 kB / 0.6508 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.1637, allocations: 31.98 kB / 0.6508 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.1638, allocations: 61.28 kB / 0.6509 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009176/0.1647, allocations: 0.6957 MB / 0.6515 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.1691, allocations: 5.729 MB / 0.6571 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.1699, allocations: 0.6094 MB / 0.6577 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.1706, allocations: 440.3 kB / 0.6581 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.1707, allocations: 4 kB / 0.6581 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.1707, allocations: 43.19 kB / 0.6582 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.1707, allocations: 0 / 0.6582 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003856/0.1746, allocations: 2.006 MB / 0.6601 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1746, allocations: 55.41 kB / 0.6602 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1751, allocations: 458.7 kB / 0.6606 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1751, allocations: 33.7 kB / 0.6607 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1753, allocations: 391 kB / 0.661 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.1754, allocations: 149.9 kB / 0.6612 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.1756, allocations: 110.2 kB / 0.6613 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1757, allocations: 358.8 kB / 0.6616 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.176, allocations: 245.2 kB / 0.6619 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.1765, allocations: 453 kB / 0.6623 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1773, allocations: 0.7516 MB / 0.663 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1773, allocations: 4 kB / 0.663 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001604/0.1789, allocations: 1.042 MB / 0.6641 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.1789, allocations: 11.94 kB / 0.6641 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1789, allocations: 4 kB / 0.6641 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/0.1799, allocations: 319.3 kB / 0.6644 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1802, allocations: 103.8 kB / 0.6645 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/0.1865, allocations: 7.478 MB / 0.6718 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.187, allocations: 32.02 kB / 0.6718 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.187, allocations: 28 kB / 0.6718 GB, free: 10.03 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.0003235/0.1874, allocations: 241.6 kB / 0.6721 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.1875, allocations: 63.28 kB / 0.6721 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.189, allocations: 0.8843 MB / 0.673 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.189, allocations: 4.188 kB / 0.673 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.189, allocations: 8 kB / 0.673 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.189, allocations: 3.984 kB / 0.673 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.1914, allocations: 1.673 MB / 0.6746 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.1914, allocations: 7.984 kB / 0.6746 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1915, allocations: 35.97 kB / 0.6747 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/0.1923, allocations: 307.3 kB / 0.675 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1924, allocations: 8 kB / 0.675 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.1988, allocations: 7.471 MB / 0.6823 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1989, allocations: 15.88 kB / 0.6823 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.2005, allocations: 0.9834 MB / 0.6833 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.2008, allocations: 168.4 kB / 0.6834 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.2009, allocations: 16 kB / 0.6834 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2012, allocations: 19.97 kB / 0.6834 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.2013, allocations: 39.89 kB / 0.6835 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.2013, allocations: 12 kB / 0.6835 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003428/0.2016, allocations: 310.9 kB / 0.6838 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2016, allocations: 0 / 0.6838 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007783/0.2024, allocations: 192 kB / 0.684 GB, free: 12.84 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.0001693/0.2026, allocations: 119.1 kB / 0.6841 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.2045, allocations: 1.199 MB / 0.6853 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2046, allocations: 0 / 0.6853 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2057, allocations: 0.8618 MB / 0.6861 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2068, allocations: 204.6 kB / 0.6863 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.209, allocations: 1.216 MB / 0.6875 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.2096, allocations: 0.992 MB / 0.6885 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002671/0.2099, allocations: 93.28 kB / 0.6885 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.21, allocations: 35.44 kB / 0.6886 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.21, allocations: 0 / 0.6886 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of Templates: time 0.01674/0.2267, allocations: 9.959 MB / 0.6983 GB, free: 14.08 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)