Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009073/0.0009074, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.73/1.73, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01507/0.157, allocations: 12.45 MB / 371.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3267/0.4837, allocations: 4.891 MB / 376.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.4878, allocations: 54.25 kB / 376.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.4912, allocations: 0.7215 MB / 376.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.4939, allocations: 432.1 kB / 377.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.4953, allocations: 316.5 kB / 377.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.4992, allocations: 1.902 MB / 379.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.5012, allocations: 0.7462 MB / 380.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.5035, allocations: 0.5862 MB / 380.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.5051, allocations: 0.6721 MB / 381.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.5053, allocations: 95.11 kB / 381.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.5059, allocations: 131.6 kB / 381.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.5062, allocations: 272.9 kB / 382 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.5068, allocations: 353.8 kB / 382.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.5107, allocations: 2.129 MB / 384.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.5108, allocations: 5.125 kB / 384.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.5108, allocations: 0 / 384.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-05/0.5109, allocations: 0 / 384.5 MB, free: 7.949 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.004338/0.5152, allocations: 1.736 MB / 386.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5153, allocations: 11.08 kB / 386.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.5161, allocations: 243.6 kB / 386.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.5182, allocations: 0.9794 MB / 387.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.5183, allocations: 111.3 kB / 387.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.5186, allocations: 153.4 kB / 387.7 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.5216, allocations: 1.413 MB / 389.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/0.5217, allocations: 6.172 kB / 389.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.5218, allocations: 60.22 kB / 389.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.5219, allocations: 39.77 kB / 389.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.5243, allocations: 0.954 MB / 390.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009332/0.5336, allocations: 6.08 MB / 396.3 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.5349, allocations: 0.6517 MB / 396.9 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.5355, allocations: 246.1 kB / 397.2 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.5355, allocations: 9.75 kB / 397.2 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5356, allocations: 49 kB / 397.2 MB, free: 284 kB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 4.007e-06/0.5356, allocations: 0 / 397.2 MB, free: 284 kB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004659/0.5403, allocations: 1.743 MB / 399 MB, free: 15.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.5404, allocations: 86.98 kB / 399.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.5427, allocations: 1.105 MB / 400.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.5428, allocations: 36.11 kB / 400.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/0.5436, allocations: 0.7962 MB / 401 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5439, allocations: 200 kB / 401.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.5439, allocations: 19.78 kB / 401.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.5441, allocations: 347.2 kB / 401.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/0.5447, allocations: 241.3 kB / 401.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.5457, allocations: 0.6302 MB / 402.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.5465, allocations: 344.9 kB / 402.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.5465, allocations: 3.625 kB / 402.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002006/0.5485, allocations: 1.002 MB / 403.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004606/0.549, allocations: 484.9 kB / 404.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.549, allocations: 16.28 kB / 404.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.5492, allocations: 44.2 kB / 404.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.5499, allocations: 228.9 kB / 404.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.5512, allocations: 1.293 MB / 405.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/0.5522, allocations: 52.23 kB / 405.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.5522, allocations: 47.34 kB / 405.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.5522, allocations: 4.75 kB / 405.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/0.5536, allocations: 0.8125 MB / 406.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5537, allocations: 17.02 kB / 406.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.5538, allocations: 42.97 kB / 406.8 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.5544, allocations: 213.9 kB / 407 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5555, allocations: 1.298 MB / 408.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.5564, allocations: 43.95 kB / 408.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.5565, allocations: 45.81 kB / 408.4 MB, free: 7.801 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.001091/0.5576, allocations: 413.8 kB / 408.8 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5578, allocations: 117.5 kB / 408.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.5591, allocations: 0.5751 MB / 409.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.5591, allocations: 11.95 kB / 409.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5591, allocations: 0 / 409.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5591, allocations: 7.984 kB / 409.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.5628, allocations: 1.858 MB / 411.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5628, allocations: 7.984 kB / 411.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5633, allocations: 107.8 kB / 411.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.5634, allocations: 20.84 kB / 411.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.5635, allocations: 20.22 kB / 411.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.5646, allocations: 1.276 MB / 412.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5646, allocations: 8.109 kB / 412.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.5662, allocations: 0.9265 MB / 413.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.5668, allocations: 247.6 kB / 414 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5669, allocations: 16 kB / 414 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.5674, allocations: 43.92 kB / 414 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.5675, allocations: 44.41 kB / 414.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.5675, allocations: 16 kB / 414.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.5687, allocations: 0.7397 MB / 414.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5687, allocations: 0 / 414.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001882/0.5706, allocations: 464 kB / 415.3 MB, free: 0.9961 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.0003224/0.571, allocations: 137.3 kB / 415.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.5733, allocations: 1.255 MB / 416.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5734, allocations: 4.062 kB / 416.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.5739, allocations: 357 kB / 417 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.5753, allocations: 262.4 kB / 417.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.5807, allocations: 3.092 MB / 420.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/0.5816, allocations: 1.165 MB / 421.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.5819, allocations: 79.44 kB / 421.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5819, allocations: 0 / 421.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Templates: time 0.03838/0.6203, allocations: 22.47 MB / 444.1 MB, free: 4.102 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o] Error 1