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.0008918/0.000892, allocations: 92.47 kB / 17.58 MB, free: 5.801 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.0009611/0.0009613, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.907/1.907, allocations: 205.4 MB / 224.6 MB, free: 13 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.0004841/0.0004841, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1394, allocations: 47.58 MB / 329 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01087/0.1503, allocations: 6.984 MB / 336 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.1572, allocations: 2.453 MB / 338.4 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.1595, allocations: 23.94 kB / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.1622, allocations: 465.4 kB / 338.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.1644, allocations: 377.2 kB / 339.3 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.1652, allocations: 147.8 kB / 339.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.1678, allocations: 1.296 MB / 340.7 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.1688, allocations: 423.2 kB / 341.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.1698, allocations: 445.9 kB / 341.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009739/0.1708, allocations: 493.7 kB / 342 MB, free: 6.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.171, allocations: 64 kB / 342.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.1713, allocations: 99.98 kB / 342.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.1714, allocations: 191.1 kB / 342.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.1718, allocations: 257.1 kB / 342.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1731, allocations: 1.328 MB / 344 MB, free: 4.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.1731, allocations: 0 / 344 MB, free: 4.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1731, allocations: 0 / 344 MB, free: 4.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1732, allocations: 0 / 344 MB, free: 4.98 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.002055/0.1752, allocations: 1.246 MB / 345.2 MB, free: 3.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1753, allocations: 12.03 kB / 345.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.1758, allocations: 174.4 kB / 345.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1769, allocations: 0.699 MB / 346.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.1769, allocations: 66 kB / 346.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1771, allocations: 96 kB / 346.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1787, allocations: 0.9229 MB / 347.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.1787, allocations: 0 / 347.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1788, allocations: 44 kB / 347.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.1789, allocations: 24 kB / 347.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.18, allocations: 0.6286 MB / 347.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.1848, allocations: 3.936 MB / 351.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.1853, allocations: 351.7 kB / 352.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.1856, allocations: 160.6 kB / 352.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1857, allocations: 15.92 kB / 352.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1857, allocations: 34.56 kB / 352.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.1857, allocations: 0 / 352.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002288/0.188, allocations: 1.221 MB / 353.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1881, allocations: 81.11 kB / 353.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1891, allocations: 0.8174 MB / 354.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1892, allocations: 37.64 kB / 354.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.1896, allocations: 0.5718 MB / 355.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.1897, allocations: 130.2 kB / 355.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1897, allocations: 16 kB / 355.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1899, allocations: 330 kB / 355.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.1902, allocations: 153.9 kB / 355.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.1907, allocations: 460 kB / 356.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.1911, allocations: 235.4 kB / 356.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1911, allocations: 4 kB / 356.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001106/0.1922, allocations: 0.7002 MB / 357.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1923, allocations: 8 kB / 357.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1923, allocations: 12 kB / 357.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.1925, allocations: 45.12 kB / 357.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.1929, allocations: 159.7 kB / 357.3 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.194, allocations: 1.295 MB / 358.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.1944, allocations: 35.98 kB / 358.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.1945, allocations: 39.98 kB / 358.7 MB, free: 5.457 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 (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.0003755/0.1949, allocations: 269.6 kB / 358.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.195, allocations: 82.97 kB / 359 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.1957, allocations: 386.1 kB / 359.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1957, allocations: 4 kB / 359.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1957, allocations: 4 kB / 359.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1957, allocations: 3.984 kB / 359.4 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.1975, allocations: 1.281 MB / 360.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1975, allocations: 0 / 360.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.1978, allocations: 79.89 kB / 360.8 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.1979, allocations: 24.84 kB / 360.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1979, allocations: 8 kB / 360.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009068/0.1988, allocations: 1.268 MB / 362.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1988, allocations: 4 kB / 362.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.1997, allocations: 0.6512 MB / 362.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.2, allocations: 188.2 kB / 362.9 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.947e-05/0.2001, allocations: 8 kB / 362.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2004, allocations: 23.98 kB / 362.9 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.2005, allocations: 35.95 kB / 363 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2005, allocations: 19.97 kB / 363 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.2012, allocations: 0.5537 MB / 363.5 MB, free: 300 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2012, allocations: 0 / 363.5 MB, free: 300 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007126/0.2019, allocations: 188 kB / 363.7 MB, free: 112 kB / 302.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 (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.0002237/0.2022, allocations: 119 kB / 363.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009084/0.2031, allocations: 0.5316 MB / 364.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2031, allocations: 0 / 364.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.2035, allocations: 278.9 kB / 364.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.2045, allocations: 203.2 kB / 364.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.2073, allocations: 2.116 MB / 367 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.2079, allocations: 0.9923 MB / 368 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.208, allocations: 59.44 kB / 368 MB, free: 11.7 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.208, allocations: 0 / 368 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Templates: time 0.1936/0.4017, allocations: 15.57 MB / 383.6 MB, free: 51.91 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++ 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.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