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.005812/0.005813, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001332/0.001332, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8851/0.8851, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 69.7 kB / 0.5862 GB, free: 21.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2059, allocations: 81.03 MB / 0.6654 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003965/0.21, allocations: 1.589 MB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2113, allocations: 0.5036 MB / 0.6674 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.2114, allocations: 7.875 kB / 0.6674 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.2116, allocations: 11.86 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.2117, allocations: 11.88 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.212, allocations: 39.89 kB / 0.6675 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2122, allocations: 87.7 kB / 0.6675 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.2124, allocations: 32.22 kB / 0.6676 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2125, allocations: 47.83 kB / 0.6676 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.2126, allocations: 35.84 kB / 0.6677 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.2127, allocations: 8 kB / 0.6677 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.2128, allocations: 12 kB / 0.6677 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.2128, allocations: 23.92 kB / 0.6677 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.2129, allocations: 39.73 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2131, allocations: 95.5 kB / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2131, allocations: 0 / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2131, allocations: 0 / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2131, allocations: 0 / 0.6678 GB, free: 2.582 MB / 0.4981 GB 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.0006723/0.2138, allocations: 411 kB / 0.6682 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2139, allocations: 13.05 kB / 0.6682 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.2139, allocations: 8.891 kB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2142, allocations: 196.2 kB / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.2142, allocations: 384 / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2142, allocations: 12.38 kB / 0.6684 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2145, allocations: 109.9 kB / 0.6685 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2145, allocations: 4 kB / 0.6686 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2146, allocations: 4 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2146, allocations: 4 kB / 0.6686 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.2148, allocations: 87.94 kB / 0.6686 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.2157, allocations: 380.6 kB / 0.669 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.2159, allocations: 58.55 kB / 0.6691 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.216, allocations: 48.95 kB / 0.6691 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.2161, allocations: 7.984 kB / 0.6691 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2161, allocations: 30.56 kB / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2161, allocations: 0 / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000598/0.2167, allocations: 173.7 kB / 0.6693 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2168, allocations: 51.41 kB / 0.6694 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.217, allocations: 143.4 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.217, allocations: 25.7 kB / 0.6695 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.2171, allocations: 104.2 kB / 0.6696 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.2172, allocations: 19.84 kB / 0.6696 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.2172, allocations: 25.7 kB / 0.6697 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2174, allocations: 314.8 kB / 0.67 GB, free: 188 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2175, allocations: 43.91 kB / 0.67 GB, free: 144 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.2176, allocations: 44.03 kB / 0.67 GB, free: 100 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.2179, allocations: 88.8 kB / 0.6701 GB, free: 8 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2179, allocations: 4 kB / 0.6701 GB, free: 4 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003154/0.2182, allocations: 129.5 kB / 0.6703 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2182, allocations: 4 kB / 0.6703 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2182, allocations: 0 / 0.6703 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.2183, allocations: 0 / 0.6703 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2184, allocations: 23.92 kB / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2185, allocations: 7.938 kB / 0.6703 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.2185, allocations: 7.984 kB / 0.6703 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2186, allocations: 8 kB / 0.6703 GB, free: 15.82 MB / 0.5137 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 0.0001146/0.2187, allocations: 113.8 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2187, allocations: 11.94 kB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.2191, allocations: 154.1 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.2191, allocations: 7.938 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2192, allocations: 0 / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2192, allocations: 4 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2194, allocations: 197.6 kB / 0.6708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2194, allocations: 0 / 0.6708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/0.2195, allocations: 20.22 kB / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2195, allocations: 0 / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2196, allocations: 8 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2196, allocations: 3.938 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2196, allocations: 0 / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2199, allocations: 227.4 kB / 0.671 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.22, allocations: 85.06 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.22, allocations: 0 / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2201, allocations: 11.92 kB / 0.6711 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.2202, allocations: 11.98 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2202, allocations: 4 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.04e-05/0.2203, allocations: 100.8 kB / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2203, allocations: 4 kB / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002501/0.2206, allocations: 16 kB / 0.6712 GB, free: 14.76 MB / 0.5137 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.0002207/0.2208, allocations: 103.2 kB / 0.6713 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2212, allocations: 99.88 kB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2212, allocations: 0 / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2213, allocations: 47.97 kB / 0.6715 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2215, allocations: 12 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.222, allocations: 214.9 kB / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.2224, allocations: 0.7079 MB / 0.6724 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.2226, allocations: 15.92 kB / 0.6724 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2226, allocations: 11.44 kB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2226, allocations: 7.938 kB / 0.6724 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.003638/0.2262, allocations: 0.7193 MB / 0.6731 GB, free: 12.77 MB / 0.5137 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)