Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001008, allocations: 94.28 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 192.4 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 45.92 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 12 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 63.45 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.006484/0.1771, allocations: 3.909 MB / 486 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.1807, allocations: 1.543 MB / 487.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.1812, allocations: 19.88 kB / 487.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.1821, allocations: 234.5 kB / 487.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.1825, allocations: 127 kB / 487.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.1831, allocations: 171.8 kB / 488.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1841, allocations: 0.7406 MB / 488.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.1847, allocations: 275.2 kB / 489.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.1851, allocations: 226.8 kB / 489.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.1855, allocations: 262.5 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.1856, allocations: 31.94 kB / 489.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.1857, allocations: 32 kB / 489.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1858, allocations: 111.5 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.186, allocations: 149.3 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.1869, allocations: 0.6859 MB / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1869, allocations: 0 / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1869, allocations: 0 / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1869, allocations: 0 / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001898/0.1888, allocations: 0.9194 MB / 491.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1889, allocations: 8.031 kB / 491.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.189, allocations: 79.06 kB / 491.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/0.1899, allocations: 488.4 kB / 492.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.19, allocations: 41.31 kB / 492.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1901, allocations: 64 kB / 492.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.1916, allocations: 0.5989 MB / 492.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.1916, allocations: 4 kB / 492.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.1917, allocations: 32 kB / 492.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1917, allocations: 12 kB / 492.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.193, allocations: 445 kB / 493.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.1974, allocations: 2.187 MB / 495.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1991, allocations: 0.6104 MB / 496.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.1995, allocations: 177.3 kB / 496.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.1996, allocations: 4 kB / 496.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.1997, allocations: 42.56 kB / 496.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/0.1997, allocations: 3.938 kB / 496.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003009/0.2027, allocations: 1.185 MB / 497.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2027, allocations: 55.41 kB / 497.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.2036, allocations: 0.5183 MB / 498 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.2036, allocations: 37.64 kB / 498.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.204, allocations: 340.2 kB / 498.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.2041, allocations: 130.2 kB / 498.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.2041, allocations: 4 kB / 498.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2043, allocations: 362.8 kB / 498.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.2048, allocations: 148.8 kB / 499 MB, free: 4.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.2053, allocations: 228.9 kB / 499.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.2058, allocations: 176.7 kB / 499.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2058, allocations: 0 / 499.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001217/0.207, allocations: 0.4895 MB / 499.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.2072, allocations: 152.9 kB / 0.4884 GB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2072, allocations: 3.938 kB / 0.4884 GB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.2074, allocations: 28.78 kB / 0.4884 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.208, allocations: 111.9 kB / 0.4885 GB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.2093, allocations: 1.288 MB / 0.4898 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.2097, allocations: 27.98 kB / 0.4898 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2097, allocations: 16 kB / 0.4898 GB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2097, allocations: 4 kB / 0.4898 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008709/0.2106, allocations: 372.2 kB / 0.4902 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2106, allocations: 4 kB / 0.4902 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.113e-05/0.2107, allocations: 29.12 kB / 0.4902 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.2112, allocations: 95.83 kB / 0.4903 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2123, allocations: 1.272 MB / 0.4915 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2126, allocations: 16 kB / 0.4915 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.2127, allocations: 16 kB / 0.4915 GB, free: 15.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0003809/0.2131, allocations: 272.9 kB / 0.4918 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2132, allocations: 51.34 kB / 0.4919 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2133, allocations: 61.38 kB / 0.4919 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2133, allocations: 0 / 0.4919 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.2133, allocations: 4 kB / 0.4919 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2134, allocations: 3.938 kB / 0.4919 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.2155, allocations: 1.096 MB / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2155, allocations: 0 / 0.493 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2159, allocations: 75.89 kB / 0.4931 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.2159, allocations: 20.84 kB / 0.4931 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.216, allocations: 12.06 kB / 0.4931 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009027/0.2169, allocations: 1.292 MB / 0.4944 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2169, allocations: 4.062 kB / 0.4944 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2179, allocations: 0.6582 MB / 0.495 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2181, allocations: 128.4 kB / 0.4951 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.2181, allocations: 15.94 kB / 0.4951 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.2184, allocations: 31.98 kB / 0.4952 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.2185, allocations: 19.97 kB / 0.4952 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.2185, allocations: 12 kB / 0.4952 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000433/0.2189, allocations: 362.9 kB / 0.4955 GB, free: 11.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2189, allocations: 0 / 0.4955 GB, free: 11.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006416/0.2196, allocations: 176 kB / 0.4957 GB, free: 10.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.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 (32): * Single equations (assignments): 31 * 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.0001537/0.2197, allocations: 115.2 kB / 0.4958 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.2212, allocations: 0.7516 MB / 0.4966 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2212, allocations: 0 / 0.4966 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.2217, allocations: 290.9 kB / 0.4968 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.2224, allocations: 94.19 kB / 0.4969 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.2251, allocations: 1.607 MB / 0.4985 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.2256, allocations: 0.8863 MB / 0.4994 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2258, allocations: 39.44 kB / 0.4994 GB, free: 6.957 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2258, allocations: 4 kB / 0.4994 GB, free: 6.953 MB / 382.1 MB Notification: Performance of Templates: time 0.3018/0.5276, allocations: 9.444 MB / 0.5086 GB, free: 40.48 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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 OMCppModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlledCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlledCalcHelperMain.o] Error 1