Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.000988/0.0009881, allocations: 95.45 kB / 16.96 MB, free: 5.953 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.001174/0.001174, allocations: 177.5 kB / 17.84 MB, free: 5.617 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.584/1.584, allocations: 223.2 MB / 241.8 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003432, allocations: 8 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01659/0.1648, allocations: 13.29 MB / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.179, allocations: 5.27 MB / 370.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00497/0.184, allocations: 71.62 kB / 370.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.1885, allocations: 0.7884 MB / 371.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.1929, allocations: 496.2 kB / 371.8 MB, free: 36 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3536/0.5466, allocations: 464.2 kB / 372.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006917/0.5536, allocations: 2.422 MB / 374.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.5567, allocations: 0.8937 MB / 375.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.5598, allocations: 0.7963 MB / 376.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.5622, allocations: 0.8282 MB / 377.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.5627, allocations: 98.06 kB / 377.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.5634, allocations: 98.75 kB / 377.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.5641, allocations: 339.2 kB / 377.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009135/0.565, allocations: 422 kB / 378.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.5698, allocations: 2.442 MB / 380.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.5699, allocations: 1.094 kB / 380.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.5699, allocations: 4 kB / 380.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.57, allocations: 0 / 380.6 MB, free: 9.605 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.006454/0.5765, allocations: 2.136 MB / 382.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5766, allocations: 6.25 kB / 382.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.5774, allocations: 248.6 kB / 382.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.5802, allocations: 1.166 MB / 384.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.5806, allocations: 265.1 kB / 384.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/0.581, allocations: 195.1 kB / 384.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.5859, allocations: 1.932 MB / 386.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/0.586, allocations: 6 kB / 386.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.5862, allocations: 80.22 kB / 386.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.5863, allocations: 47.22 kB / 386.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.5905, allocations: 1.623 MB / 388.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.6032, allocations: 7.279 MB / 395.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.606, allocations: 1.251 MB / 396.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.6072, allocations: 486.9 kB / 397.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.01e-05/0.6073, allocations: 14.14 kB / 397.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6073, allocations: 42.22 kB / 397.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=83): time 2.415e-06/0.6073, allocations: 4 kB / 397.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=110): time 0.03105/0.6384, allocations: 8.815 MB / 406.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.6385, allocations: 74.42 kB / 406.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.6412, allocations: 1.216 MB / 407.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.6414, allocations: 45.7 kB / 407.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.6425, allocations: 1.004 MB / 408.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005741/0.6431, allocations: 390.6 kB / 408.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.6432, allocations: 32 kB / 408.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.6434, allocations: 361.9 kB / 409.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.6455, allocations: 0.7652 MB / 410 MB, free: 7.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.6478, allocations: 1.23 MB / 411.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.6499, allocations: 0.8099 MB / 412 MB, free: 5.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.6499, allocations: 4 kB / 412 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005273/0.6552, allocations: 2.227 MB / 414.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.6559, allocations: 0.5231 MB / 414.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.6559, allocations: 16 kB / 414.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.6561, allocations: 40.86 kB / 414.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.6579, allocations: 443.3 kB / 415.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.6591, allocations: 1.284 MB / 416.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.661, allocations: 163.9 kB / 416.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.6612, allocations: 75.92 kB / 416.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.6612, allocations: 10.41 kB / 416.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004515/0.6657, allocations: 1.954 MB / 418.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/0.6658, allocations: 19.98 kB / 418.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.6659, allocations: 48.73 kB / 418.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.6676, allocations: 415.9 kB / 419.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6688, allocations: 1.28 MB / 420.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6705, allocations: 140 kB / 420.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.6707, allocations: 64 kB / 420.7 MB, free: 12.43 MB / 334.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.moving[1],kinematicPTP.noWphase,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 (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.001582/0.6722, allocations: 484.6 kB / 421.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.6727, allocations: 158 kB / 421.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.677, allocations: 1.679 MB / 423 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.677, allocations: 12 kB / 423 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.677, allocations: 0 / 423 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6771, allocations: 3.984 kB / 423 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/0.6868, allocations: 3.917 MB / 426.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.6869, allocations: 8 kB / 427 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.6881, allocations: 288.2 kB / 427.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.6883, allocations: 36.84 kB / 427.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.6884, allocations: 32 kB / 427.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.6899, allocations: 1.276 MB / 428.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.159e-05/0.69, allocations: 22.3 kB / 428.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/0.6957, allocations: 2.361 MB / 431 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.6971, allocations: 310.9 kB / 431.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/0.6977, allocations: 32 kB / 431.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.6992, allocations: 143.8 kB / 431.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/0.6996, allocations: 124.2 kB / 431.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6997, allocations: 51.88 kB / 431.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00234/0.702, allocations: 0.7905 MB / 432.4 MB, free: 200 kB / 334.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.702, allocations: 0 / 432.4 MB, free: 200 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.003494/0.7056, allocations: 0.6094 MB / 433 MB, free: 15.58 MB / 350.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 (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.0003458/0.7059, allocations: 151 kB / 433.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007294/0.7132, allocations: 2.927 MB / 436.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.7132, allocations: 0 / 436.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.7155, allocations: 0.7562 MB / 436.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.7191, allocations: 343.6 kB / 437.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.7303, allocations: 4.356 MB / 441.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/0.7331, allocations: 1.343 MB / 442.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008826/0.7341, allocations: 111.4 kB / 443 MB, free: 5.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.043e-06/0.7341, allocations: 4 kB / 443 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.06342/0.7975, allocations: 30.56 MB / 473.5 MB, free: 6.887 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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.PositionControlledDCPMCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPMCalcHelperMain.o] Error 1