Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.000905, allocations: 91.12 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.001238/0.001238, allocations: 186.6 kB / 18.48 MB, free: 5.203 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.918/1.918, 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.0005052/0.0005052, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.008444/0.1286, allocations: 7.157 MB / 336.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.1344, allocations: 2.558 MB / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.1358, allocations: 31.88 kB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.1375, allocations: 453.4 kB / 339.2 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1391, allocations: 353.3 kB / 339.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.14, allocations: 247.6 kB / 339.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.1422, allocations: 1.343 MB / 341.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008599/0.1431, allocations: 448.4 kB / 341.5 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/0.1441, allocations: 445.9 kB / 342 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.1448, allocations: 0.4935 MB / 342.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1449, allocations: 64 kB / 342.5 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1453, allocations: 99.97 kB / 342.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1454, allocations: 195.1 kB / 342.8 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.1458, allocations: 257 kB / 343.1 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.1474, allocations: 1.328 MB / 344.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1474, allocations: 0 / 344.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1474, allocations: 0 / 344.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.1474, allocations: 0 / 344.4 MB, free: 4.555 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002722/0.1502, allocations: 1.32 MB / 345.7 MB, free: 3.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.1502, allocations: 8.031 kB / 345.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.1509, allocations: 190.3 kB / 345.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1523, allocations: 0.7581 MB / 346.7 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.1524, allocations: 73.94 kB / 346.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.1525, allocations: 103.9 kB / 346.8 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.1543, allocations: 0.9458 MB / 347.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.1543, allocations: 4 kB / 347.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.1544, allocations: 40 kB / 347.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.1545, allocations: 31.98 kB / 347.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1557, allocations: 0.6402 MB / 348.5 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006522/0.1623, allocations: 4.135 MB / 352.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1633, allocations: 467.2 kB / 353.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.1637, allocations: 169.1 kB / 353.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.1637, allocations: 7.75 kB / 353.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1638, allocations: 38.56 kB / 353.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/0.1638, allocations: 0 / 353.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002916/0.1667, allocations: 1.356 MB / 354.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.1668, allocations: 106.8 kB / 354.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1682, allocations: 0.8979 MB / 355.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.1683, allocations: 33.7 kB / 355.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.1687, allocations: 0.5953 MB / 356.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.1689, allocations: 149.9 kB / 356.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.169, allocations: 12 kB / 356.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.1692, allocations: 334 kB / 356.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1696, allocations: 173.9 kB / 357 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.1702, allocations: 497.7 kB / 357.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.1706, allocations: 247.6 kB / 357.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1706, allocations: 4 kB / 357.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001379/0.172, allocations: 0.7473 MB / 358.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003115/0.1723, allocations: 404.4 kB / 358.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.1724, allocations: 12 kB / 358.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.1725, allocations: 28.86 kB / 358.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.1731, allocations: 175.7 kB / 359 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1744, allocations: 1.28 MB / 360.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.1751, allocations: 48.05 kB / 360.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.1751, allocations: 32 kB / 360.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1752, allocations: 11.94 kB / 360.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/0.1762, allocations: 0.6175 MB / 361 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1762, allocations: 16 kB / 361 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.1763, allocations: 32.84 kB / 361.1 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1768, allocations: 168.2 kB / 361.2 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.1779, allocations: 1.284 MB / 362.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.1785, allocations: 44.05 kB / 362.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.1786, allocations: 32 kB / 362.6 MB, free: 1.258 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0006891/0.1793, allocations: 344.7 kB / 362.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.1794, allocations: 90.88 kB / 363 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008552/0.1803, allocations: 443.2 kB / 363.5 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1803, allocations: 4 kB / 363.5 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1803, allocations: 0 / 363.5 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.1804, allocations: 7.984 kB / 363.5 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.1826, allocations: 1.39 MB / 364.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1826, allocations: 7.953 kB / 364.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.183, allocations: 79.84 kB / 364.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.1831, allocations: 24.84 kB / 365 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.1831, allocations: 8.219 kB / 365 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1842, allocations: 1.28 MB / 366.3 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1842, allocations: 12.03 kB / 366.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1853, allocations: 0.7292 MB / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.1857, allocations: 204 kB / 367.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.1858, allocations: 12 kB / 367.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.1862, allocations: 23.98 kB / 367.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1862, allocations: 23.97 kB / 367.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.1863, allocations: 19.98 kB / 367.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008682/0.1872, allocations: 0.6055 MB / 367.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1872, allocations: 0 / 367.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00136/0.1885, allocations: 348 kB / 368.2 MB, free: 11.33 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadTorque.phi,firstOrder.y,PID.I.y) * 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 (39): * Single equations (assignments): 38 * 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.0003042/0.1889, allocations: 119.1 kB / 368.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.1908, allocations: 0.9855 MB / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1908, allocations: 0 / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.1912, allocations: 292.3 kB / 369.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.1925, allocations: 219.4 kB / 369.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.1962, allocations: 2.269 MB / 372.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.1969, allocations: 1.021 MB / 373.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.1971, allocations: 63.42 kB / 373.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1971, allocations: 0 / 373.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of Templates: time 0.2398/0.4369, allocations: 16.7 MB / 389.9 MB, free: 46.83 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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_CurrentControlledCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.o] Error 1