Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 91.92 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.001064/0.001064, allocations: 185.1 kB / 16.92 MB, free: 6.926 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8987/0.8987, allocations: 135.3 MB / 427.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 12.22 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.31 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001994/0.1439, allocations: 1.305 MB / 0.5899 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.1447, allocations: 0.492 MB / 0.5904 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.1448, allocations: 3.938 kB / 0.5904 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.813e-05/0.1449, allocations: 3.938 kB / 0.5904 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.1449, allocations: 15.86 kB / 0.5904 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1451, allocations: 31.98 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1452, allocations: 79.69 kB / 0.5905 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1454, allocations: 40.2 kB / 0.5905 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.1455, allocations: 23.92 kB / 0.5906 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.1455, allocations: 39.77 kB / 0.5906 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1456, allocations: 0 / 0.5906 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.1456, allocations: 12 kB / 0.5906 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.1457, allocations: 15.92 kB / 0.5906 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.1457, allocations: 49.52 kB / 0.5907 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1458, allocations: 68.03 kB / 0.5907 GB, free: 468 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1458, allocations: 4 kB / 0.5907 GB, free: 464 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1459, allocations: 0 / 0.5907 GB, free: 464 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1459, allocations: 4 kB / 0.5907 GB, free: 460 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005267/0.1464, allocations: 389.2 kB / 0.5911 GB, free: 24 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1464, allocations: 11.97 kB / 0.5911 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.1465, allocations: 8.844 kB / 0.5911 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1467, allocations: 204.1 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1467, allocations: 8.375 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1467, allocations: 8.375 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.147, allocations: 113.9 kB / 0.5915 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.147, allocations: 4 kB / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.147, allocations: 0 / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.147, allocations: 0 / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.1473, allocations: 115.9 kB / 0.5916 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.1479, allocations: 384.5 kB / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.148, allocations: 74.47 kB / 0.592 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1482, allocations: 56.95 kB / 0.5921 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.1482, allocations: 4 kB / 0.5921 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1483, allocations: 30.56 kB / 0.5921 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1483, allocations: 3.938 kB / 0.5921 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005359/0.1488, allocations: 185.5 kB / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1488, allocations: 51.41 kB / 0.5923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.149, allocations: 139.6 kB / 0.5925 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.149, allocations: 29.69 kB / 0.5925 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1491, allocations: 104 kB / 0.5926 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1491, allocations: 23.78 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1491, allocations: 13.72 kB / 0.5926 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1493, allocations: 322.8 kB / 0.5929 GB, free: 14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1494, allocations: 43.97 kB / 0.593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1495, allocations: 47.97 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1497, allocations: 96.81 kB / 0.5931 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1498, allocations: 7.984 kB / 0.5931 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002895/0.15, allocations: 137.5 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1501, allocations: 8 kB / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1501, allocations: 0 / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1501, allocations: 0 / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1502, allocations: 27.92 kB / 0.5933 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1503, allocations: 7.969 kB / 0.5933 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.1503, allocations: 8 kB / 0.5933 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1504, allocations: 4 kB / 0.5933 GB, free: 13.61 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 (6): * Single equations (assignments): 6 * 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 8.082e-05/0.1505, allocations: 117.8 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1505, allocations: 7.906 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.1509, allocations: 158.3 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1509, allocations: 3.938 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1509, allocations: 4 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1509, allocations: 0 / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1512, allocations: 213.5 kB / 0.5938 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1512, allocations: 0 / 0.5938 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1513, allocations: 19.98 kB / 0.5938 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1513, allocations: 0 / 0.5938 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1513, allocations: 4 kB / 0.5938 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1513, allocations: 7.922 kB / 0.5938 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1513, allocations: 448 / 0.5938 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1517, allocations: 239.3 kB / 0.594 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1517, allocations: 85 kB / 0.5941 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1517, allocations: 3.938 kB / 0.5941 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1519, allocations: 23.88 kB / 0.5941 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1519, allocations: 7.984 kB / 0.5942 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1519, allocations: 4 kB / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.152, allocations: 105.1 kB / 0.5943 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.152, allocations: 0 / 0.5943 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002437/0.1522, allocations: 19.91 kB / 0.5943 GB, free: 12.5 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 (6): * Single equations (assignments): 6 * 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.0001476/0.1524, allocations: 95.25 kB / 0.5944 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1527, allocations: 111.9 kB / 0.5945 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1527, allocations: 0 / 0.5945 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1529, allocations: 63.89 kB / 0.5945 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1531, allocations: 8 kB / 0.5945 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.1536, allocations: 278.8 kB / 0.5948 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1539, allocations: 0.7005 MB / 0.5955 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.154, allocations: 15.42 kB / 0.5955 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.154, allocations: 0 / 0.5955 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.002624/0.1566, allocations: 1.097 MB / 0.5966 GB, free: 10.08 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)