Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 92.81 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002432, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 51.48 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002762/0.1342, allocations: 2.007 MB / 360.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1355, allocations: 0.6744 MB / 361.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1356, allocations: 0 / 361.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.1357, allocations: 23.78 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.1358, allocations: 59.55 kB / 361.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1362, allocations: 67.86 kB / 361.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1365, allocations: 231.1 kB / 361.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1367, allocations: 97.17 kB / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.137, allocations: 95.62 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1371, allocations: 95.53 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.1372, allocations: 8 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.1373, allocations: 24 kB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1373, allocations: 35.84 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.1374, allocations: 61.58 kB / 362.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1377, allocations: 203.7 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1378, allocations: 0 / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1378, allocations: 0 / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1378, allocations: 0 / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001184/0.139, allocations: 0.6427 MB / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.139, allocations: 8.031 kB / 363.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.1393, allocations: 39.7 kB / 363.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.1396, allocations: 235.4 kB / 363.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1397, allocations: 49.7 kB / 363.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1398, allocations: 23.95 kB / 363.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.1405, allocations: 263.9 kB / 363.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1405, allocations: 0 / 363.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1405, allocations: 12 kB / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1405, allocations: 8 kB / 363.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.141, allocations: 208.3 kB / 363.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1424, allocations: 0.768 MB / 364.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.143, allocations: 303.4 kB / 365 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1434, allocations: 235.6 kB / 365.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1434, allocations: 7.938 kB / 365.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.144, allocations: 317.5 kB / 365.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.144, allocations: 4 kB / 365.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001176/0.1452, allocations: 0.592 MB / 366.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.1453, allocations: 203.9 kB / 366.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1455, allocations: 182 kB / 366.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1455, allocations: 41.64 kB / 366.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1456, allocations: 144.7 kB / 366.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.1457, allocations: 71.09 kB / 366.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.1457, allocations: 8 kB / 366.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1459, allocations: 338.9 kB / 367.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.1462, allocations: 112.6 kB / 367.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1464, allocations: 175.3 kB / 367.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1468, allocations: 229.3 kB / 367.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1468, allocations: 4 kB / 367.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006902/0.1475, allocations: 450.1 kB / 368 MB, free: 4.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.1476, allocations: 97.09 kB / 368.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1476, allocations: 0 / 368.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1476, allocations: 4 kB / 368.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1478, allocations: 43.91 kB / 368.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1478, allocations: 7.984 kB / 368.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.148, allocations: 39.77 kB / 368.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.148, allocations: 12 kB / 368.2 MB, free: 4.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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 0.000231/0.1483, allocations: 249.5 kB / 368.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.1483, allocations: 27.72 kB / 368.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.1484, allocations: 18.66 kB / 368.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1484, allocations: 8 kB / 368.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1484, allocations: 3.984 kB / 368.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1484, allocations: 0 / 368.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.1497, allocations: 0.9474 MB / 369.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1498, allocations: 4.031 kB / 369.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1499, allocations: 23.92 kB / 369.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1499, allocations: 7.938 kB / 369.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.1499, allocations: 8 kB / 369.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1499, allocations: 8.141 kB / 369.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1499, allocations: 3.984 kB / 369.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.1508, allocations: 0.6242 MB / 370.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1509, allocations: 92.86 kB / 370.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.151, allocations: 23.98 kB / 370.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1512, allocations: 27.94 kB / 370.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.1513, allocations: 27.95 kB / 370.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1513, allocations: 12 kB / 370.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1514, allocations: 135.2 kB / 370.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1514, allocations: 0 / 370.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.1518, allocations: 79.84 kB / 370.6 MB, free: 1.805 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001876/0.152, allocations: 130.8 kB / 370.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008418/0.1528, allocations: 0.5526 MB / 371.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1528, allocations: 4 kB / 371.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.1533, allocations: 402.9 kB / 371.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.154, allocations: 131.4 kB / 371.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2213/0.3753, allocations: 0.6224 MB / 372.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3756, allocations: 0.7424 MB / 373.1 MB, free: 19.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3757, allocations: 23.67 kB / 373.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3758, allocations: 0 / 373.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007847/0.3836, allocations: 3.069 MB / 376.2 MB, free: 19.13 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o] Error 1