Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008435, allocations: 93.88 kB / 16.95 MB, free: 5.676 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.0009008/0.0009009, allocations: 187.4 kB / 17.85 MB, free: 5.32 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.561/1.561, allocations: 223.2 MB / 241.8 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002697, allocations: 4 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01536/0.156, allocations: 12.28 MB / 364.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.169, allocations: 4.774 MB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.1725, allocations: 59.75 kB / 369 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.1753, allocations: 0.7147 MB / 369.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.1775, allocations: 448.6 kB / 370.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1786, allocations: 315.5 kB / 370.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3135/0.4921, allocations: 1.917 MB / 372.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.4948, allocations: 0.7618 MB / 373.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.4967, allocations: 0.5846 MB / 373.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4978, allocations: 0.6792 MB / 374.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.498, allocations: 95.58 kB / 374.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.4986, allocations: 134.8 kB / 374.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.4988, allocations: 280.4 kB / 374.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.4993, allocations: 359.5 kB / 375.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003662/0.5029, allocations: 2.184 MB / 377.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.503, allocations: 0.6562 kB / 377.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.503, allocations: 0 / 377.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.683e-05/0.5031, allocations: 1.688 kB / 377.4 MB, free: 9.828 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004083/0.5072, allocations: 1.748 MB / 379.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.5072, allocations: 14.06 kB / 379.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008328/0.5081, allocations: 242.9 kB / 379.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.51, allocations: 0.9836 MB / 380.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5102, allocations: 110.7 kB / 380.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.5104, allocations: 156.4 kB / 380.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.5139, allocations: 1.428 MB / 382.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/0.514, allocations: 12.92 kB / 382.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.5141, allocations: 59.72 kB / 382.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.5142, allocations: 38.44 kB / 382.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5164, allocations: 0.966 MB / 383.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.5255, allocations: 6.167 MB / 389.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.5268, allocations: 0.6631 MB / 390 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.5273, allocations: 247.4 kB / 390.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.5274, allocations: 9.25 kB / 390.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5274, allocations: 43.95 kB / 390.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.487e-06/0.5274, allocations: 0 / 390.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004035/0.5315, allocations: 1.752 MB / 392 MB, free: 4.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.5315, allocations: 83.45 kB / 392.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.5334, allocations: 1.117 MB / 393.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.5335, allocations: 35.45 kB / 393.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/0.5341, allocations: 0.803 MB / 394.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.5343, allocations: 211.9 kB / 394.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.5343, allocations: 20.28 kB / 394.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.5344, allocations: 344.9 kB / 394.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.5349, allocations: 239.5 kB / 394.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.5355, allocations: 0.6303 MB / 395.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.5362, allocations: 343.9 kB / 395.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.5362, allocations: 6.656 kB / 395.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001828/0.538, allocations: 1.009 MB / 396.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/0.5383, allocations: 478.6 kB / 397.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.5384, allocations: 16.42 kB / 397.3 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.5386, allocations: 41.72 kB / 397.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.5394, allocations: 229.9 kB / 397.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.5404, allocations: 1.297 MB / 398.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.5413, allocations: 60.91 kB / 399 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.5414, allocations: 50.88 kB / 399 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.5414, allocations: 5.328 kB / 399 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/0.543, allocations: 0.8105 MB / 399.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5431, allocations: 13.66 kB / 399.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.5432, allocations: 46.47 kB / 399.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.5438, allocations: 214.2 kB / 400.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.5451, allocations: 1.298 MB / 401.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/0.546, allocations: 41.05 kB / 401.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.546, allocations: 46.06 kB / 401.5 MB, free: 14.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (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 (122): * Single equations (assignments): 121 * 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.001109/0.5471, allocations: 411 kB / 401.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.5474, allocations: 118.1 kB / 402 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.5485, allocations: 0.5754 MB / 402.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.5486, allocations: 6.641 kB / 402.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5486, allocations: 3.984 kB / 402.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5486, allocations: 3.984 kB / 402.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.552, allocations: 1.887 MB / 404.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5521, allocations: 1.719 kB / 404.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.5525, allocations: 111.7 kB / 404.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.5526, allocations: 26.8 kB / 404.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.5527, allocations: 17.42 kB / 404.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.5538, allocations: 1.282 MB / 405.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5538, allocations: 3.312 kB / 405.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5554, allocations: 0.9368 MB / 406.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.5559, allocations: 238.9 kB / 407.1 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.556, allocations: 18.45 kB / 407.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.5565, allocations: 35.83 kB / 407.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.5566, allocations: 45.66 kB / 407.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.5567, allocations: 19.92 kB / 407.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.5579, allocations: 0.7508 MB / 408 MB, free: 9.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5579, allocations: 0 / 408 MB, free: 9.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002051/0.56, allocations: 468 kB / 408.4 MB, free: 8.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (loadInertia.w,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,loadTorque.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 (53): * Single equations (assignments): 52 * 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.0003441/0.5603, allocations: 133.9 kB / 408.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.5628, allocations: 1.255 MB / 409.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5628, allocations: 0 / 409.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.5635, allocations: 367.4 kB / 410.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5649, allocations: 261.4 kB / 410.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.5704, allocations: 3.117 MB / 413.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5715, allocations: 1.173 MB / 414.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5718, allocations: 79.44 kB / 414.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of SimCode: time 1.542e-06/0.5718, allocations: 0 / 414.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Templates: time 0.04233/0.6141, allocations: 22.73 MB / 437.5 MB, free: 11.72 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o] Error 1