Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009708/0.0009708, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.857/0.857, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1668, allocations: 82.3 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001483/0.1684, allocations: 1.191 MB / 0.5884 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.1692, allocations: 0.5818 MB / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.1693, allocations: 0 / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1693, allocations: 0 / 0.5889 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.1694, allocations: 11.98 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1696, allocations: 59.19 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.1697, allocations: 27.84 kB / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.1698, allocations: 15.97 kB / 0.589 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.1699, allocations: 11.94 kB / 0.589 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.1699, allocations: 15.92 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.1699, allocations: 0 / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1701, allocations: 79.91 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1701, allocations: 11.98 kB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1701, allocations: 33.64 kB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.1702, allocations: 55.92 kB / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1702, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1703, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1703, allocations: 0 / 0.5892 GB, free: 1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003888/0.1707, allocations: 355.5 kB / 0.5896 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1707, allocations: 11.97 kB / 0.5896 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.1707, allocations: 7.906 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1708, allocations: 175 kB / 0.5898 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1709, allocations: 4 kB / 0.5898 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1709, allocations: 4 kB / 0.5898 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.171, allocations: 53.67 kB / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.171, allocations: 0 / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.171, allocations: 0 / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.171, allocations: 4 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.1711, allocations: 35.91 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1715, allocations: 284.8 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.1716, allocations: 34.52 kB / 0.5902 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.172, allocations: 0.5545 MB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.172, allocations: 38.56 kB / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.172, allocations: 0 / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.1723, allocations: 69.59 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1723, allocations: 55.39 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.1724, allocations: 121.9 kB / 0.591 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1724, allocations: 29.7 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1725, allocations: 88.14 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1725, allocations: 15.84 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1725, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.1726, allocations: 314.8 kB / 0.5914 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.1726, allocations: 15.94 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.1727, allocations: 11.98 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.1727, allocations: 16.06 kB / 0.5914 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1727, allocations: 0 / 0.5914 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001088/0.1729, allocations: 61.58 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1729, allocations: 8 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1729, allocations: 3.938 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.1729, allocations: 0 / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.173, allocations: 8.031 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.173, allocations: 0 / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.173, allocations: 19.88 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.173, allocations: 0 / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/0.1731, allocations: 116.4 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1731, allocations: 0 / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.1733, allocations: 73.14 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1733, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1733, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1733, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1735, allocations: 169.6 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1735, allocations: 0 / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.1735, allocations: 7.984 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1735, allocations: 0 / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.1735, allocations: 4 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1735, allocations: 0 / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1735, allocations: 4.031 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1737, allocations: 159.3 kB / 0.592 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1738, allocations: 89 kB / 0.5921 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1738, allocations: 0 / 0.5921 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.1738, allocations: 0 / 0.5921 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1739, allocations: 8.031 kB / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.1739, allocations: 0 / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.1739, allocations: 99.27 kB / 0.5922 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.5922 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002124/0.1741, allocations: 8 kB / 0.5922 GB, free: 13.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.1743, allocations: 103.2 kB / 0.5923 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1744, allocations: 27.98 kB / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1744, allocations: 0 / 0.5924 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.1745, allocations: 23.92 kB / 0.5924 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1746, allocations: 7.953 kB / 0.5924 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.1749, allocations: 148.7 kB / 0.5925 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1751, allocations: 0.6887 MB / 0.5932 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.1751, allocations: 4 kB / 0.5932 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.1752, allocations: 7.438 kB / 0.5932 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1752, allocations: 0 / 0.5932 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.002094/0.1773, allocations: 433.6 kB / 0.5936 GB, free: 11.98 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: