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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.718/0.718, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 404.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.45 kB / 485.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1497, allocations: 80.42 MB / 0.6421 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003027/0.1528, allocations: 1.652 MB / 0.6437 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.1537, allocations: 0.4919 MB / 0.6442 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.1538, allocations: 0 / 0.6442 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.154, allocations: 19.86 kB / 0.6442 GB, free: 3.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.154, allocations: 7.922 kB / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1542, allocations: 35.91 kB / 0.6443 GB, free: 3.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1544, allocations: 79.72 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1545, allocations: 36.2 kB / 0.6444 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1546, allocations: 39.84 kB / 0.6444 GB, free: 3.008 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.1547, allocations: 35.84 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1548, allocations: 4 kB / 0.6445 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.1548, allocations: 8 kB / 0.6445 GB, free: 2.961 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1549, allocations: 31.91 kB / 0.6445 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.1549, allocations: 35.8 kB / 0.6445 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1551, allocations: 87.92 kB / 0.6446 GB, free: 2.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1551, allocations: 0 / 0.6446 GB, free: 2.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1551, allocations: 0 / 0.6446 GB, free: 2.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1551, allocations: 0 / 0.6446 GB, free: 2.809 MB / 442.7 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.000561/0.1557, allocations: 407 kB / 0.645 GB, free: 2.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1557, allocations: 12.03 kB / 0.645 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1558, allocations: 12.78 kB / 0.645 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.156, allocations: 201.8 kB / 0.6452 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.156, allocations: 4.375 kB / 0.6452 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.156, allocations: 8.375 kB / 0.6453 GB, free: 2.094 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.1563, allocations: 107.9 kB / 0.6454 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1564, allocations: 4 kB / 0.6454 GB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1564, allocations: 4 kB / 0.6454 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1564, allocations: 0 / 0.6454 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.1566, allocations: 103.9 kB / 0.6455 GB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1573, allocations: 376.6 kB / 0.6458 GB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1574, allocations: 70.47 kB / 0.6459 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1576, allocations: 44.95 kB / 0.6459 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1576, allocations: 4 kB / 0.6459 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1576, allocations: 34.56 kB / 0.646 GB, free: 1.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1576, allocations: 0 / 0.646 GB, free: 1.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004708/0.1581, allocations: 165.5 kB / 0.6461 GB, free: 1.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1581, allocations: 51.41 kB / 0.6462 GB, free: 1.055 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.1582, allocations: 133.7 kB / 0.6463 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1583, allocations: 37.69 kB / 0.6463 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.1583, allocations: 96.05 kB / 0.6464 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1584, allocations: 23.78 kB / 0.6465 GB, free: 0.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1584, allocations: 21.72 kB / 0.6465 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1585, allocations: 322.8 kB / 0.6468 GB, free: 408 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1587, allocations: 43.97 kB / 0.6468 GB, free: 364 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.1588, allocations: 35.97 kB / 0.6469 GB, free: 328 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.159, allocations: 93.17 kB / 0.6469 GB, free: 232 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.159, allocations: 0 / 0.6469 GB, free: 232 kB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.1593, allocations: 125.5 kB / 0.6471 GB, free: 100 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1593, allocations: 12.92 kB / 0.6471 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1593, allocations: 0 / 0.6471 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1593, allocations: 3.938 kB / 0.6471 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1595, allocations: 19.92 kB / 0.6471 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1595, allocations: 0 / 0.6471 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.1596, allocations: 11.98 kB / 0.6471 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1596, allocations: 0 / 0.6471 GB, free: 52 kB / 442.7 MB 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.0001063/0.1597, allocations: 121.8 kB / 0.6472 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1597, allocations: 7.906 kB / 0.6472 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.1601, allocations: 146.2 kB / 0.6474 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1601, allocations: 3.938 kB / 0.6474 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1601, allocations: 4 kB / 0.6474 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1601, allocations: 0 / 0.6474 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1603, allocations: 205.5 kB / 0.6476 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1603, allocations: 3.938 kB / 0.6476 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1604, allocations: 27.97 kB / 0.6476 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1604, allocations: 0 / 0.6476 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1604, allocations: 0 / 0.6476 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1605, allocations: 7.938 kB / 0.6476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1605, allocations: 0 / 0.6476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.1611, allocations: 0.8293 MB / 0.6484 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.1612, allocations: 85.02 kB / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1612, allocations: 3.984 kB / 0.6485 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.1613, allocations: 4 kB / 0.6485 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1613, allocations: 7.984 kB / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1614, allocations: 8 kB / 0.6485 GB, free: 14.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.1614, allocations: 100.5 kB / 0.6486 GB, free: 14.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1614, allocations: 4 kB / 0.6486 GB, free: 14.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.1618, allocations: 23.91 kB / 0.6487 GB, free: 14.33 MB / 458.7 MB 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.0001925/0.162, allocations: 99.19 kB / 0.6487 GB, free: 14.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.1623, allocations: 99.88 kB / 0.6488 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1623, allocations: 0 / 0.6488 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1624, allocations: 55.95 kB / 0.6489 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1626, allocations: 11.94 kB / 0.6489 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.1632, allocations: 356.7 kB / 0.6492 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1635, allocations: 0.7043 MB / 0.6499 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.1636, allocations: 19.95 kB / 0.65 GB, free: 12.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1636, allocations: 7.438 kB / 0.65 GB, free: 12.91 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.1636, allocations: 4 kB / 0.65 GB, free: 12.91 MB / 458.7 MB Notification: Performance of Templates: time 0.002628/0.1663, allocations: 0.6415 MB / 0.6506 GB, free: 12.27 MB / 458.7 MB 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)