Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000972/0.0009722, allocations: 97.7 kB / 17.96 MB, free: 5.633 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.001377/0.001377, allocations: 176.3 kB / 18.86 MB, free: 4.77 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.257/2.257, allocations: 205.4 MB / 225 MB, free: 12.98 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.0006412/0.0006416, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1538, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01157/0.1654, allocations: 6.611 MB / 336.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.1721, allocations: 2.334 MB / 338.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.1741, allocations: 23.94 kB / 338.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.1768, allocations: 441.7 kB / 339 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1791, allocations: 333.7 kB / 339.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1801, allocations: 179.8 kB / 339.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.1831, allocations: 1.132 MB / 340.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.1844, allocations: 446.7 kB / 341.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.1857, allocations: 378.2 kB / 341.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.1869, allocations: 433.7 kB / 341.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.1873, allocations: 52 kB / 341.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.1879, allocations: 95.97 kB / 342 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.1882, allocations: 159.2 kB / 342.2 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.1897, allocations: 0.4991 MB / 342.7 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1914, allocations: 1.122 MB / 343.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1914, allocations: 0 / 343.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.009e-06/0.1914, allocations: 0 / 343.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.695e-05/0.1915, allocations: 7.938 kB / 343.8 MB, free: 5.461 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003495/0.195, allocations: 1.091 MB / 344.9 MB, free: 4.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.1951, allocations: 12.03 kB / 344.9 MB, free: 4.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.196, allocations: 147.6 kB / 345.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.1979, allocations: 0.6339 MB / 345.7 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.198, allocations: 58.38 kB / 345.8 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.1982, allocations: 80.28 kB / 345.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.2005, allocations: 0.791 MB / 346.6 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.2006, allocations: 4 kB / 346.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.2007, allocations: 32 kB / 346.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2007, allocations: 19.94 kB / 346.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.2022, allocations: 0.5387 MB / 347.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/0.209, allocations: 3.415 MB / 350.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.2098, allocations: 246.4 kB / 350.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.2101, allocations: 120.8 kB / 351 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.2102, allocations: 4 kB / 351 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.2102, allocations: 34.56 kB / 351 MB, free: 13.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 3.547e-06/0.2102, allocations: 4 kB / 351 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002796/0.213, allocations: 1.082 MB / 352.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.2131, allocations: 81.11 kB / 352.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2142, allocations: 0.731 MB / 352.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2143, allocations: 33.7 kB / 353 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.2147, allocations: 0.4903 MB / 353.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2148, allocations: 98.66 kB / 353.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.2149, allocations: 57.69 kB / 353.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.2151, allocations: 378.8 kB / 354 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.2154, allocations: 129.2 kB / 354.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.2159, allocations: 430.1 kB / 354.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.2168, allocations: 0.5832 MB / 355.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2168, allocations: 0 / 355.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001198/0.218, allocations: 0.6342 MB / 355.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.2181, allocations: 8.562 kB / 355.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.2181, allocations: 8 kB / 355.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.2184, allocations: 40.84 kB / 355.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.2188, allocations: 139.8 kB / 355.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.2201, allocations: 1.292 MB / 357.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.2207, allocations: 43.89 kB / 357.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2207, allocations: 28 kB / 357.3 MB, free: 7.086 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0004508/0.2212, allocations: 245.6 kB / 357.5 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2213, allocations: 67.16 kB / 357.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007381/0.2221, allocations: 333.5 kB / 357.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2221, allocations: 7.984 kB / 357.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2221, allocations: 3.938 kB / 357.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2221, allocations: 0 / 357.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.2241, allocations: 1.117 MB / 359 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.2242, allocations: 4 kB / 359 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.2245, allocations: 67.84 kB / 359.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.2246, allocations: 24.84 kB / 359.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2246, allocations: 8 kB / 359.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.2258, allocations: 1.268 MB / 360.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.2258, allocations: 7.969 kB / 360.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2269, allocations: 0.5795 MB / 361 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.2273, allocations: 176.2 kB / 361.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.2274, allocations: 8 kB / 361.2 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.2277, allocations: 19.98 kB / 361.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.2278, allocations: 27.91 kB / 361.2 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.2278, allocations: 12 kB / 361.2 MB, free: 2.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008608/0.2287, allocations: 0.5029 MB / 361.7 MB, free: 2.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2287, allocations: 4 kB / 361.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008614/0.2296, allocations: 160 kB / 361.9 MB, free: 2.168 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0002687/0.2299, allocations: 115.1 kB / 362 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.231, allocations: 479.4 kB / 362.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.231, allocations: 1.938 kB / 362.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.2314, allocations: 246.9 kB / 362.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2327, allocations: 171 kB / 362.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.2365, allocations: 1.881 MB / 364.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/0.2374, allocations: 0.9375 MB / 365.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.2376, allocations: 55.44 kB / 365.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2376, allocations: 0 / 365.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of Templates: time 0.02712/0.2648, allocations: 13.26 MB / 379 MB, free: 0.918 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o] Error 1