Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009429/0.0009427, allocations: 91.38 kB / 16.95 MB, free: 5.555 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.001085/0.001085, allocations: 191.6 kB / 17.85 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 241.8 MB, free: 136 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 8 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007839/0.1631, allocations: 6.273 MB / 358.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.1685, allocations: 2.187 MB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.1694, allocations: 23.94 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.1709, allocations: 413.7 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.172, allocations: 317.7 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.1725, allocations: 119.9 kB / 361.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1737, allocations: 1.081 MB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/0.1743, allocations: 356.6 kB / 362.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.1748, allocations: 374.3 kB / 363 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.1753, allocations: 410.1 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.1754, allocations: 52 kB / 363.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.1757, allocations: 95.97 kB / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1759, allocations: 159.2 kB / 363.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1761, allocations: 213.2 kB / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1773, allocations: 1.126 MB / 365 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.1773, allocations: 4 kB / 365 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1773, allocations: 0 / 365 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1773, allocations: 0 / 365 MB, free: 6.773 MB / 302.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.001958/0.1793, allocations: 1.102 MB / 366.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1794, allocations: 8.031 kB / 366.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.1799, allocations: 150.6 kB / 366.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1809, allocations: 0.6135 MB / 366.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.181, allocations: 62 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.1811, allocations: 76 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1827, allocations: 0.7793 MB / 367.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.1827, allocations: 3.906 kB / 367.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.1828, allocations: 32 kB / 367.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.1829, allocations: 27.94 kB / 367.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1839, allocations: 0.5309 MB / 368.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2998/0.4837, allocations: 3.406 MB / 371.8 MB, free: 23.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.4845, allocations: 232.5 kB / 372 MB, free: 23.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.4848, allocations: 122.6 kB / 372.2 MB, free: 23.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.4848, allocations: 5.578 kB / 372.2 MB, free: 23.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4848, allocations: 35.31 kB / 372.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.775e-06/0.4849, allocations: 1.562 kB / 372.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002372/0.4872, allocations: 1.076 MB / 373.3 MB, free: 23.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4873, allocations: 85.62 kB / 373.4 MB, free: 22.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4885, allocations: 0.7312 MB / 374.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.4886, allocations: 34.41 kB / 374.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.489, allocations: 498.8 kB / 374.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.4891, allocations: 105 kB / 374.7 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.4891, allocations: 10.12 kB / 374.7 MB, free: 22.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4893, allocations: 379.1 kB / 375.1 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.4896, allocations: 133.1 kB / 375.2 MB, free: 22.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.4901, allocations: 427.8 kB / 375.6 MB, free: 21.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.4905, allocations: 204.8 kB / 375.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4905, allocations: 3.188 kB / 375.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001043/0.4915, allocations: 0.6158 MB / 376.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4916, allocations: 14.16 kB / 376.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.4916, allocations: 9.625 kB / 376.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.4918, allocations: 34.95 kB / 376.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.4922, allocations: 143.6 kB / 376.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008754/0.4931, allocations: 1.284 MB / 377.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.4936, allocations: 44.77 kB / 378 MB, free: 20.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.4937, allocations: 30.12 kB / 378 MB, free: 20.33 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 (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.0003942/0.4941, allocations: 233.4 kB / 378.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4943, allocations: 74.12 kB / 378.3 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.4949, allocations: 339.8 kB / 378.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.495, allocations: 3.5 kB / 378.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.495, allocations: 0 / 378.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.495, allocations: 2.875 kB / 378.7 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.4969, allocations: 1.111 MB / 379.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4969, allocations: 2.125 kB / 379.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.4972, allocations: 64.89 kB / 379.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.4973, allocations: 26.47 kB / 379.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.4973, allocations: 13.75 kB / 379.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007562/0.4981, allocations: 1.27 MB / 381.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4981, allocations: 5.516 kB / 381.1 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.499, allocations: 0.5757 MB / 381.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4992, allocations: 178.5 kB / 381.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.4993, allocations: 7.906 kB / 381.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.4996, allocations: 23.06 kB / 381.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.4997, allocations: 28.62 kB / 382 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.4998, allocations: 13.73 kB / 382 MB, free: 17.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007733/0.5005, allocations: 0.4944 MB / 382.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5005, allocations: 1.156 kB / 382.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.5014, allocations: 157.4 kB / 382.6 MB, free: 17.17 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 (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.0002177/0.5016, allocations: 127.8 kB / 382.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009838/0.5026, allocations: 471.5 kB / 383.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5027, allocations: 1.688 kB / 383.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.503, allocations: 247.5 kB / 383.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.504, allocations: 173 kB / 383.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.5067, allocations: 1.772 MB / 385.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.5074, allocations: 0.9417 MB / 386.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.5075, allocations: 50.59 kB / 386.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5075, allocations: 1.219 kB / 386.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.02522/0.5327, allocations: 13.28 MB / 399.7 MB, free: 8.094 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o] Error 1