Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 93.02 kB / 17.95 MB, free: 5.629 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.001501/0.001501, allocations: 178.5 kB / 18.86 MB, free: 4.773 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.203/2.203, 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.000654/0.0006543, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1448, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01948/0.1643, allocations: 14.28 MB / 343.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1786, allocations: 5.51 MB / 349.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.1834, allocations: 71.62 kB / 349.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00447/0.1879, allocations: 0.8351 MB / 350.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.1923, allocations: 0.5197 MB / 350.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.1952, allocations: 0.6557 MB / 351.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005393/0.2006, allocations: 2.569 MB / 354.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.2034, allocations: 1.137 MB / 355.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.2058, allocations: 0.8278 MB / 356 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.2078, allocations: 0.8741 MB / 356.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000764/0.2086, allocations: 96 kB / 357 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.2095, allocations: 100 kB / 357.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007649/0.2103, allocations: 354.2 kB / 357.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.2126, allocations: 0.992 MB / 358.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.2159, allocations: 2.438 MB / 360.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.216, allocations: 0 / 360.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.216, allocations: 0 / 360.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001592/0.2161, allocations: 0 / 360.9 MB, free: 4.324 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: 473 * Number of variables: 473 Notification: Performance of Generate backend data structure: time 0.006002/0.2221, allocations: 2.108 MB / 363 MB, free: 2.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2222, allocations: 8.031 kB / 363 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.2231, allocations: 257.9 kB / 363.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.2257, allocations: 1.233 MB / 364.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.226, allocations: 265.3 kB / 364.7 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.2263, allocations: 192 kB / 364.9 MB, free: 148 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.2305, allocations: 1.954 MB / 366.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.2305, allocations: 0 / 366.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.2307, allocations: 80 kB / 366.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.2308, allocations: 44 kB / 367 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.2345, allocations: 1.637 MB / 368.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.2459, allocations: 7.293 MB / 375.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.2491, allocations: 1.253 MB / 377.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.2503, allocations: 488.2 kB / 377.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.007e-05/0.2504, allocations: 20.91 kB / 377.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.2504, allocations: 47.5 kB / 377.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=83): time 3.707e-06/0.2504, allocations: 0 / 377.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=110): time 0.2971/0.5475, allocations: 8.819 MB / 386.5 MB, free: 51.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.5477, allocations: 63.66 kB / 386.6 MB, free: 51.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.551, allocations: 1.241 MB / 387.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.5514, allocations: 46.39 kB / 387.9 MB, free: 50.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.5527, allocations: 0.994 MB / 388.9 MB, free: 49.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.5533, allocations: 391 kB / 389.3 MB, free: 49.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.5536, allocations: 129 kB / 389.4 MB, free: 49.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5537, allocations: 303.8 kB / 389.7 MB, free: 49.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.5564, allocations: 0.7792 MB / 390.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/0.5598, allocations: 1.239 MB / 391.7 MB, free: 47.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.5649, allocations: 1.907 MB / 393.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-05/0.565, allocations: 2.75 kB / 393.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00641/0.5714, allocations: 2.253 MB / 395.9 MB, free: 45.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004552/0.5719, allocations: 0.518 MB / 396.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.572, allocations: 15.56 kB / 396.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.5722, allocations: 40.2 kB / 396.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.5744, allocations: 440.6 kB / 396.9 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/0.5753, allocations: 1.282 MB / 398.1 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.5776, allocations: 174.3 kB / 398.3 MB, free: 43.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5778, allocations: 66.44 kB / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.5778, allocations: 0 / 398.4 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004623/0.5824, allocations: 1.976 MB / 400.4 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.5825, allocations: 13.41 kB / 400.4 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.5826, allocations: 35.73 kB / 400.4 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5846, allocations: 424.4 kB / 400.8 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009845/0.5856, allocations: 1.282 MB / 402.1 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.5874, allocations: 143.1 kB / 402.2 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.5875, allocations: 68.12 kB / 402.3 MB, free: 41.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 (kinematicPTP.noWphase,kinematicPTP.moving[1],speedController.integrator.local_reset,currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 195 * 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.001582/0.5891, allocations: 483.2 kB / 402.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.5897, allocations: 160.3 kB / 402.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.5939, allocations: 1.683 MB / 404.6 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.594, allocations: 15.98 kB / 404.6 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.594, allocations: 1.125 kB / 404.6 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.594, allocations: 7.969 kB / 404.6 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008651/0.6027, allocations: 3.911 MB / 408.6 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.6028, allocations: 12 kB / 408.6 MB, free: 35.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.6039, allocations: 288.5 kB / 408.8 MB, free: 35.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.6041, allocations: 28.84 kB / 408.9 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/0.6042, allocations: 32.69 kB / 408.9 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008832/0.6051, allocations: 1.294 MB / 410.2 MB, free: 33.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.6051, allocations: 16.56 kB / 410.2 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.6099, allocations: 2.366 MB / 412.6 MB, free: 31.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6109, allocations: 307 kB / 412.9 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/0.6114, allocations: 39.98 kB / 412.9 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.6128, allocations: 136.9 kB / 413.1 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.6132, allocations: 124.2 kB / 413.2 MB, free: 30.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.6133, allocations: 44 kB / 413.2 MB, free: 30.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.615, allocations: 0.8181 MB / 414 MB, free: 29.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.615, allocations: 0 / 414 MB, free: 29.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003606/0.6186, allocations: 0.6133 MB / 414.7 MB, free: 29.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 11 (loadInertia.w,speedSensor.flange.phi,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,currentController.integrator.y,speedController.integrator.y) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 108 * 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.0003356/0.619, allocations: 138.9 kB / 414.8 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006854/0.6258, allocations: 2.95 MB / 417.7 MB, free: 26.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.6259, allocations: 4 kB / 417.7 MB, free: 26.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.6277, allocations: 0.7615 MB / 418.5 MB, free: 25.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/0.6326, allocations: 342 kB / 418.8 MB, free: 24.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008974/0.6416, allocations: 4.571 MB / 423.4 MB, free: 20.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.6432, allocations: 1.349 MB / 424.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/0.644, allocations: 115.4 kB / 424.9 MB, free: 18.74 MB / 318.1 MB Notification: Performance of SimCode: time 2.004e-06/0.644, allocations: 3.938 kB / 424.9 MB, free: 18.73 MB / 318.1 MB Notification: Performance of Templates: time 0.05547/0.6995, allocations: 30.64 MB / 455.5 MB, free: 4.043 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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.ControlledDCDrives.PositionControlledDCPMCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPMCalcHelperMain.o] Error 1