Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 98.31 kB / 17.96 MB, free: 5.766 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.00192/0.00192, allocations: 177.2 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004949/0.0004949, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009369/0.1401, allocations: 7.425 MB / 337 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.146, allocations: 2.573 MB / 339.6 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.1469, allocations: 23.94 kB / 339.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.1484, allocations: 498.1 kB / 340.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.1498, allocations: 397.2 kB / 340.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.1503, allocations: 207.8 kB / 340.7 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.1519, allocations: 1.366 MB / 342.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000778/0.1527, allocations: 0.4889 MB / 342.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.1534, allocations: 457.8 kB / 343 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.154, allocations: 0.5052 MB / 343.5 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1542, allocations: 64 kB / 343.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1545, allocations: 95.98 kB / 343.7 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1546, allocations: 199 kB / 343.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.1552, allocations: 0.5846 MB / 344.5 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1565, allocations: 1.336 MB / 345.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1565, allocations: 0 / 345.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1565, allocations: 0 / 345.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1566, allocations: 0 / 345.8 MB, free: 3.477 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002151/0.1587, allocations: 1.243 MB / 347 MB, free: 2.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1588, allocations: 8.031 kB / 347 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005533/0.1593, allocations: 179.3 kB / 347.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.1605, allocations: 0.7106 MB / 347.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.1606, allocations: 74 kB / 348 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.1607, allocations: 103.9 kB / 348.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1624, allocations: 0.9268 MB / 349 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1625, allocations: 4 kB / 349 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.1626, allocations: 40 kB / 349.1 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1626, allocations: 27.94 kB / 349.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1639, allocations: 0.6403 MB / 349.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.1692, allocations: 3.932 MB / 353.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.1698, allocations: 371.3 kB / 354 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.1702, allocations: 148.8 kB / 354.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1702, allocations: 4 kB / 354.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1702, allocations: 38.56 kB / 354.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.1702, allocations: 4 kB / 354.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002308/0.1726, allocations: 1.226 MB / 355.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1726, allocations: 81.11 kB / 355.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.1736, allocations: 0.8292 MB / 356.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1737, allocations: 29.7 kB / 356.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.1741, allocations: 0.564 MB / 357 MB, free: 7.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1742, allocations: 130.2 kB / 357.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.1743, allocations: 57.69 kB / 357.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1744, allocations: 334 kB / 357.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1748, allocations: 157.9 kB / 357.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.1753, allocations: 467.9 kB / 358.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/0.1762, allocations: 0.6509 MB / 358.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1762, allocations: 4 kB / 358.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001142/0.1773, allocations: 0.7081 MB / 359.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1774, allocations: 8 kB / 359.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1774, allocations: 12 kB / 359.5 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1776, allocations: 32.84 kB / 359.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.1781, allocations: 155.8 kB / 359.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.1793, allocations: 1.299 MB / 360.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.1797, allocations: 40.05 kB / 361 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.1798, allocations: 36 kB / 361 MB, free: 3.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003959/0.1802, allocations: 261 kB / 361.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1803, allocations: 86.91 kB / 361.4 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.1811, allocations: 398.1 kB / 361.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1811, allocations: 8.031 kB / 361.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1811, allocations: 0 / 361.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1811, allocations: 0 / 361.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.1831, allocations: 1.277 MB / 363 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1831, allocations: 4 kB / 363 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.1834, allocations: 79.89 kB / 363.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-05/0.1835, allocations: 25.06 kB / 363.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1835, allocations: 16 kB / 363.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.1845, allocations: 1.268 MB / 364.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1845, allocations: 4.031 kB / 364.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1855, allocations: 0.6511 MB / 365.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.1858, allocations: 188.1 kB / 365.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.1859, allocations: 11.98 kB / 365.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1862, allocations: 27.98 kB / 365.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.1864, allocations: 35.84 kB / 365.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1864, allocations: 8 kB / 365.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007809/0.1872, allocations: 0.5615 MB / 365.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1872, allocations: 0 / 365.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007361/0.1879, allocations: 191.9 kB / 366.1 MB, free: 13.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.1882, allocations: 127.1 kB / 366.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009932/0.1892, allocations: 0.5158 MB / 366.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.1892, allocations: 4.25 kB / 366.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.1897, allocations: 278.4 kB / 367 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.191, allocations: 195.7 kB / 367.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.1947, allocations: 2.248 MB / 369.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/0.1955, allocations: 0.9923 MB / 370.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1957, allocations: 63.44 kB / 370.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1957, allocations: 0 / 370.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of Templates: time 0.2536/0.4493, allocations: 15.55 MB / 386.1 MB, free: 50.54 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o] Error 1