Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.000966, allocations: 93.78 kB / 17.58 MB, free: 5.758 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.001251/0.001251, allocations: 185.6 kB / 18.48 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 224.6 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 11.98 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007995/0.1333, allocations: 6.239 MB / 335.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.1384, allocations: 2.223 MB / 337.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008472/0.1393, allocations: 19.94 kB / 337.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.1408, allocations: 421.7 kB / 337.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1419, allocations: 309.7 kB / 338.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1423, allocations: 123.9 kB / 338.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1436, allocations: 1.086 MB / 339.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.1443, allocations: 364.6 kB / 339.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.1449, allocations: 370.3 kB / 340.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.1453, allocations: 406.1 kB / 340.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.1454, allocations: 52 kB / 340.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.1457, allocations: 95.97 kB / 340.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1459, allocations: 159.2 kB / 340.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1461, allocations: 217.2 kB / 341 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1472, allocations: 1.122 MB / 342.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1472, allocations: 0 / 342.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1472, allocations: 0 / 342.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1472, allocations: 7.938 kB / 342.1 MB, free: 6.824 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001919/0.1491, allocations: 1.099 MB / 343.2 MB, free: 5.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1492, allocations: 8.031 kB / 343.3 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.1497, allocations: 150.6 kB / 343.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1507, allocations: 0.6173 MB / 344 MB, free: 4.855 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.1508, allocations: 62 kB / 344.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1509, allocations: 76 kB / 344.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1523, allocations: 0.7793 MB / 344.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.1524, allocations: 4 kB / 344.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.1524, allocations: 28 kB / 345 MB, free: 3.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.1525, allocations: 20 kB / 345 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1535, allocations: 0.5348 MB / 345.5 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.1579, allocations: 3.403 MB / 348.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.1584, allocations: 246.4 kB / 349.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1587, allocations: 124.7 kB / 349.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1587, allocations: 4 kB / 349.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1588, allocations: 38.56 kB / 349.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.445e-06/0.1588, allocations: 0 / 349.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002234/0.161, allocations: 1.082 MB / 350.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1611, allocations: 77.11 kB / 350.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.1621, allocations: 0.7309 MB / 351.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1621, allocations: 29.7 kB / 351.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.1625, allocations: 0.4942 MB / 351.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.1626, allocations: 106.5 kB / 351.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.1626, allocations: 16 kB / 351.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1629, allocations: 378.7 kB / 352.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.1631, allocations: 129.2 kB / 352.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.1636, allocations: 430.1 kB / 352.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.164, allocations: 195.9 kB / 353 MB, free: 11.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.164, allocations: 0 / 353 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001027/0.1651, allocations: 0.6149 MB / 353.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1651, allocations: 12 kB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.1651, allocations: 8 kB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.1653, allocations: 36.84 kB / 353.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.1658, allocations: 139.8 kB / 353.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.1672, allocations: 1.292 MB / 355.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.1679, allocations: 48.09 kB / 355.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.1679, allocations: 32.05 kB / 355.1 MB, free: 9.062 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.1685, allocations: 229.6 kB / 355.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1686, allocations: 75.06 kB / 355.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.1694, allocations: 337.9 kB / 355.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1694, allocations: 7.938 kB / 355.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1694, allocations: 3.953 kB / 355.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1694, allocations: 0 / 355.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1712, allocations: 1.124 MB / 356.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1712, allocations: 0 / 356.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.1714, allocations: 59.91 kB / 357 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.745e-05/0.1715, allocations: 29.06 kB / 357 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1716, allocations: 8 kB / 357 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1726, allocations: 1.268 MB / 358.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1726, allocations: 8.016 kB / 358.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.1735, allocations: 0.5717 MB / 358.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.1738, allocations: 176.1 kB / 359 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.1738, allocations: 8 kB / 359 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.1741, allocations: 23.98 kB / 359.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.1742, allocations: 27.86 kB / 359.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1742, allocations: 12 kB / 359.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006881/0.1749, allocations: 0.499 MB / 359.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1749, allocations: 0 / 359.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.1757, allocations: 156 kB / 359.7 MB, free: 4.168 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/0.1759, allocations: 123.2 kB / 359.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.1768, allocations: 468.7 kB / 360.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1768, allocations: 0 / 360.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1772, allocations: 246.6 kB / 360.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.1781, allocations: 171.5 kB / 360.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1806, allocations: 1.787 MB / 362.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.1812, allocations: 0.9414 MB / 363.5 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1813, allocations: 51.44 kB / 363.5 MB, free: 292 kB / 302.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1813, allocations: 0 / 363.5 MB, free: 292 kB / 302.1 MB Notification: Performance of Templates: time 0.02331/0.2046, allocations: 13.27 MB / 376.8 MB, free: 3.008 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o] Error 1