Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007791/0.0007791, allocations: 92.23 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.0008809/0.0008809, allocations: 184 kB / 16.92 MB, free: 6.922 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9372/0.9372, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003125, allocations: 14.03 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001664/0.1429, allocations: 1.212 MB / 0.5898 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.1439, allocations: 0.6244 MB / 0.5904 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1439, allocations: 0 / 0.5904 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.1439, allocations: 7.922 kB / 0.5904 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.144, allocations: 11.92 kB / 0.5904 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1443, allocations: 51.89 kB / 0.5905 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.1443, allocations: 39.84 kB / 0.5905 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.1444, allocations: 12 kB / 0.5905 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.1445, allocations: 11.94 kB / 0.5905 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.1446, allocations: 19.91 kB / 0.5906 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1446, allocations: 7.875 kB / 0.5906 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1447, allocations: 87.91 kB / 0.5906 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1448, allocations: 11.94 kB / 0.5907 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.1448, allocations: 41.61 kB / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1449, allocations: 55.92 kB / 0.5907 GB, free: 400 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1449, allocations: 0 / 0.5907 GB, free: 400 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.145, allocations: 0 / 0.5907 GB, free: 400 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.145, allocations: 0 / 0.5907 GB, free: 400 kB / 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.0004209/0.1454, allocations: 355.8 kB / 0.5911 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1454, allocations: 11.97 kB / 0.5911 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.1455, allocations: 4.844 kB / 0.5911 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1456, allocations: 176.2 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1456, allocations: 4.375 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.1456, allocations: 4.375 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1458, allocations: 61.94 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1458, allocations: 0 / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1458, allocations: 4 kB / 0.5913 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1458, allocations: 0 / 0.5913 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.1459, allocations: 31.98 kB / 0.5914 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1463, allocations: 284.7 kB / 0.5916 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.1464, allocations: 30.52 kB / 0.5917 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.1464, allocations: 16.91 kB / 0.5917 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004348/0.1469, allocations: 0.5622 MB / 0.5922 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1469, allocations: 30.56 kB / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1469, allocations: 0 / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.1472, allocations: 69.67 kB / 0.5923 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1472, allocations: 55.34 kB / 0.5924 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.1473, allocations: 126 kB / 0.5925 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1473, allocations: 25.7 kB / 0.5925 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1474, allocations: 88.12 kB / 0.5926 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1474, allocations: 7.922 kB / 0.5926 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.1474, allocations: 17.72 kB / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1475, allocations: 318.8 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.1476, allocations: 12 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.1476, allocations: 15.98 kB / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.1477, allocations: 24.86 kB / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1477, allocations: 0 / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.1479, allocations: 61.58 kB / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1479, allocations: 12.09 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1479, allocations: 3.938 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1479, allocations: 0 / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.148, allocations: 4 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.148, allocations: 7.875 kB / 0.5931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.148, allocations: 11.98 kB / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.148, allocations: 0 / 0.5931 GB, free: 13.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.1481, allocations: 113.8 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1481, allocations: 3.906 kB / 0.5932 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.1483, allocations: 73.2 kB / 0.5933 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1483, allocations: 0 / 0.5933 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1483, allocations: 0 / 0.5933 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1483, allocations: 0 / 0.5933 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1485, allocations: 177.6 kB / 0.5934 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1485, allocations: 0 / 0.5934 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.1486, allocations: 11.92 kB / 0.5935 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1486, allocations: 4.031 kB / 0.5935 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1486, allocations: 4 kB / 0.5935 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1486, allocations: 0 / 0.5935 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1486, allocations: 0 / 0.5935 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1487, allocations: 147.5 kB / 0.5936 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1488, allocations: 93 kB / 0.5937 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1488, allocations: 4.031 kB / 0.5937 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.1489, allocations: 4 kB / 0.5937 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1489, allocations: 0 / 0.5937 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1489, allocations: 4 kB / 0.5937 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.149, allocations: 97.23 kB / 0.5938 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 0 / 0.5938 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1492, allocations: 15.94 kB / 0.5938 GB, free: 12.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.1494, allocations: 107.2 kB / 0.5939 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1495, allocations: 31.92 kB / 0.5939 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1495, allocations: 0 / 0.5939 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.1496, allocations: 15.98 kB / 0.594 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1498, allocations: 3.656 kB / 0.594 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.1501, allocations: 186.4 kB / 0.5941 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1503, allocations: 0.677 MB / 0.5948 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1504, allocations: 15.42 kB / 0.5948 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1504, allocations: 0 / 0.5948 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.001937/0.1523, allocations: 0.7048 MB / 0.5955 GB, free: 11 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)