Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007655/0.0007655, allocations: 92.72 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008896/0.0008897, allocations: 197.2 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 7.938 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.01529/0.1557, allocations: 12.93 MB / 371.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3216/0.4774, allocations: 5.086 MB / 376.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.4816, allocations: 63.03 kB / 376.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003707/0.4853, allocations: 0.7459 MB / 377.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.4883, allocations: 459 kB / 378.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4901, allocations: 371.5 kB / 378.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.4945, allocations: 2.094 MB / 380.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.4964, allocations: 0.8233 MB / 381.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.4984, allocations: 0.636 MB / 382 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.5, allocations: 0.7279 MB / 382.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.5002, allocations: 97 kB / 382.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005898/0.5008, allocations: 139 kB / 382.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.5011, allocations: 306.6 kB / 383.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.5018, allocations: 380.4 kB / 383.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.5055, allocations: 2.305 MB / 385.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5056, allocations: 1.062 kB / 385.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5056, allocations: 0 / 385.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.5057, allocations: 0 / 385.9 MB, free: 7.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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.004977/0.5107, allocations: 1.927 MB / 387.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.5107, allocations: 9.844 kB / 387.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009998/0.5117, allocations: 271.5 kB / 388.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.5139, allocations: 1.067 MB / 389.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.514, allocations: 126.4 kB / 389.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.5143, allocations: 168.4 kB / 389.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.518, allocations: 1.59 MB / 391.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.518, allocations: 5.531 kB / 391.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.5182, allocations: 67.22 kB / 391.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.5182, allocations: 40.09 kB / 391.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.5209, allocations: 1.099 MB / 392.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009918/0.5308, allocations: 6.62 MB / 398.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.5329, allocations: 1.011 MB / 399.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.5336, allocations: 323.6 kB / 400.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.5337, allocations: 11.83 kB / 400.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.5338, allocations: 44.88 kB / 400.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.5338, allocations: 0 / 400.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.006451/0.5402, allocations: 2.129 MB / 402.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.5403, allocations: 90.77 kB / 402.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.543, allocations: 1.242 MB / 403.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.5431, allocations: 35.8 kB / 403.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/0.544, allocations: 0.878 MB / 404.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.5442, allocations: 239.5 kB / 404.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.5443, allocations: 21.09 kB / 404.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.5445, allocations: 351.8 kB / 405.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.5452, allocations: 318.9 kB / 405.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.5464, allocations: 0.7177 MB / 406.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.5473, allocations: 415.3 kB / 406.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5473, allocations: 6.75 kB / 406.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002587/0.5499, allocations: 1.187 MB / 407.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005089/0.5504, allocations: 492.5 kB / 408.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.5505, allocations: 15.95 kB / 408.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.5507, allocations: 40.84 kB / 408.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009581/0.5517, allocations: 275.6 kB / 408.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.553, allocations: 1.292 MB / 410 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.5541, allocations: 75.95 kB / 410 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.5542, allocations: 52 kB / 410.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5542, allocations: 4 kB / 410.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/0.5559, allocations: 0.9438 MB / 411 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.5559, allocations: 12 kB / 411.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.556, allocations: 40.84 kB / 411.1 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.5568, allocations: 260.1 kB / 411.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.5581, allocations: 1.299 MB / 412.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5592, allocations: 55.98 kB / 412.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.5592, allocations: 48 kB / 412.8 MB, free: 3.895 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 3 (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 (139): * Single equations (assignments): 138 * 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.001209/0.5605, allocations: 432.2 kB / 413.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5607, allocations: 134.4 kB / 413.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.5623, allocations: 0.7363 MB / 414 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5623, allocations: 7.938 kB / 414 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5623, allocations: 4 kB / 414.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.5623, allocations: 3.984 kB / 414.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.5663, allocations: 2.154 MB / 416.2 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5664, allocations: 4 kB / 416.2 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.567, allocations: 140.1 kB / 416.4 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.5671, allocations: 36.67 kB / 416.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5672, allocations: 16 kB / 416.4 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.5684, allocations: 1.274 MB / 417.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.5684, allocations: 7.984 kB / 417.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.5708, allocations: 1.159 MB / 418.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.5715, allocations: 271.3 kB / 419.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5717, allocations: 16 kB / 419.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.5723, allocations: 59.95 kB / 419.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5724, allocations: 44.5 kB / 419.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.5725, allocations: 16 kB / 419.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.5742, allocations: 0.8342 MB / 420.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5742, allocations: 0 / 420.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002117/0.5763, allocations: 0.504 MB / 420.6 MB, free: 11.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (loadInertia.w,dcpm.inertiaRotor.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,preFilter.y,slewRateLimiter.y) * 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 (63): * Single equations (assignments): 62 * 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.0003613/0.5767, allocations: 139 kB / 420.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.5797, allocations: 1.475 MB / 422.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5798, allocations: 1.812 kB / 422.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007808/0.5805, allocations: 442.1 kB / 422.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5824, allocations: 309.8 kB / 422.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.5886, allocations: 3.472 MB / 426.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.5896, allocations: 1.229 MB / 427.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.5901, allocations: 91.44 kB / 427.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5901, allocations: 2.406 kB / 427.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Templates: time 0.04289/0.633, allocations: 25.19 MB / 452.9 MB, free: 11.36 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.SpeedControlledDCPMCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPMCalcHelperMain.o] Error 1