Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 97.61 kB / 17.96 MB, free: 5.77 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.002054/0.002054, allocations: 177.6 kB / 18.86 MB, free: 4.906 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.215/2.215, 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.000518/0.0005176, allocations: 8.375 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009901/0.1441, allocations: 7.519 MB / 337.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006686/0.1509, allocations: 2.619 MB / 339.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1528, allocations: 23.94 kB / 339.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.1554, allocations: 0.4941 MB / 340.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.1583, allocations: 401.1 kB / 340.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1594, allocations: 227.7 kB / 340.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.1622, allocations: 1.385 MB / 342.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.1633, allocations: 0.4967 MB / 342.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.1644, allocations: 477.6 kB / 343.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1655, allocations: 0.513 MB / 343.7 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.1658, allocations: 68 kB / 343.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.1664, allocations: 99.98 kB / 343.9 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.1667, allocations: 202.9 kB / 344.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.1678, allocations: 0.604 MB / 344.7 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1696, allocations: 1.344 MB / 346.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1696, allocations: 0 / 346.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1697, allocations: 0 / 346.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.1698, allocations: 0 / 346.1 MB, free: 3.207 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003013/0.1728, allocations: 1.262 MB / 347.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.1728, allocations: 12.03 kB / 347.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.1737, allocations: 187.4 kB / 347.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.1751, allocations: 0.7377 MB / 348.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.1752, allocations: 74 kB / 348.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.1754, allocations: 99.91 kB / 348.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.1774, allocations: 0.9386 MB / 349.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.1774, allocations: 0 / 349.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.1775, allocations: 44 kB / 349.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.1776, allocations: 28 kB / 349.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1789, allocations: 0.6364 MB / 350.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.1851, allocations: 3.95 MB / 354 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.1859, allocations: 440.7 kB / 354.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.1865, allocations: 265.3 kB / 354.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.1866, allocations: 4.328 kB / 354.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1866, allocations: 38.89 kB / 354.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.376e-06/0.1866, allocations: 0 / 354.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003044/0.1897, allocations: 1.423 MB / 356.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.1898, allocations: 85.11 kB / 356.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1909, allocations: 0.8175 MB / 357.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.191, allocations: 33.7 kB / 357.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.1915, allocations: 0.5603 MB / 357.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1916, allocations: 157.8 kB / 357.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.1917, allocations: 69.61 kB / 357.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1919, allocations: 338 kB / 358.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.1922, allocations: 165.9 kB / 358.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.1928, allocations: 468 kB / 358.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.1938, allocations: 0.67 MB / 359.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1938, allocations: 4 kB / 359.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00139/0.1952, allocations: 0.7745 MB / 360.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1953, allocations: 12 kB / 360.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1953, allocations: 12 kB / 360.3 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.1956, allocations: 89.8 kB / 360.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.1961, allocations: 159.7 kB / 360.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.1989, allocations: 2.868 MB / 363.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.1996, allocations: 40.02 kB / 363.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.1996, allocations: 36 kB / 363.5 MB, free: 0.6875 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000637/0.2003, allocations: 268.2 kB / 363.8 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.2004, allocations: 86.97 kB / 363.8 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.2016, allocations: 0.4957 MB / 364.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.2016, allocations: 4 kB / 364.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2016, allocations: 4 kB / 364.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2016, allocations: 7.922 kB / 364.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.2043, allocations: 1.45 MB / 365.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2043, allocations: 0 / 365.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.2046, allocations: 71.91 kB / 365.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.2048, allocations: 73.89 kB / 365.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.2049, allocations: 12 kB / 366 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.2077, allocations: 2.852 MB / 368.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2077, allocations: 0 / 368.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2093, allocations: 0.7769 MB / 369.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.2097, allocations: 200 kB / 369.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.2098, allocations: 11.94 kB / 369.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.2102, allocations: 35.98 kB / 369.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.2103, allocations: 27.95 kB / 369.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.2104, allocations: 19.94 kB / 369.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008209/0.2112, allocations: 0.5615 MB / 370.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2112, allocations: 3.938 kB / 370.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009153/0.2121, allocations: 207.9 kB / 370.6 MB, free: 9.098 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0002487/0.2124, allocations: 119.3 kB / 370.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.2136, allocations: 0.7061 MB / 371.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2136, allocations: 3.938 kB / 371.5 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.2143, allocations: 434.5 kB / 371.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.2156, allocations: 218.8 kB / 372.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.219, allocations: 2.261 MB / 374.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.2197, allocations: 1.001 MB / 375.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2198, allocations: 67.42 kB / 375.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of SimCode: time 2.985e-06/0.2199, allocations: 0 / 375.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of Templates: time 0.2564/0.4763, allocations: 20.69 MB / 396.1 MB, free: 44.38 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o] Error 1