Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0008272/0.0008273, allocations: 92.06 kB / 17.58 MB, free: 6.168 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.0009138/0.0009139, allocations: 184.1 kB / 18.47 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004333/0.0004333, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 47.59 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01289/0.126, allocations: 12.31 MB / 341.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009274/0.1353, allocations: 4.822 MB / 346.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.1377, allocations: 55.75 kB / 346.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1395, allocations: 0.7264 MB / 346.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1409, allocations: 440.7 kB / 347.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.1418, allocations: 307.6 kB / 347.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.1442, allocations: 1.936 MB / 349.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.1453, allocations: 0.7601 MB / 350.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.1462, allocations: 0.5871 MB / 350.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.147, allocations: 0.6918 MB / 351.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.1472, allocations: 92 kB / 351.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.1475, allocations: 132 kB / 351.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.1477, allocations: 282.6 kB / 352.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.1481, allocations: 360.8 kB / 352.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.15, allocations: 2.177 MB / 354.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.15, allocations: 0 / 354.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1501, allocations: 0 / 354.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.1501, allocations: 0 / 354.6 MB, free: 10.28 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.003131/0.1532, allocations: 1.759 MB / 356.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1533, allocations: 12.03 kB / 356.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.154, allocations: 245.6 kB / 356.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1555, allocations: 0.9926 MB / 357.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.1556, allocations: 115 kB / 357.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.1558, allocations: 159.9 kB / 357.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.1582, allocations: 1.423 MB / 359.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.1583, allocations: 7.938 kB / 359.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.1584, allocations: 60 kB / 359.4 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.1584, allocations: 36 kB / 359.4 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.1602, allocations: 0.9634 MB / 360.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/0.1679, allocations: 6.175 MB / 366.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.169, allocations: 0.6599 MB / 367.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.1694, allocations: 257.9 kB / 367.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.1695, allocations: 12.5 kB / 367.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1695, allocations: 39 kB / 367.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.1695, allocations: 0 / 367.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.003014/0.1725, allocations: 1.758 MB / 369.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1726, allocations: 89.53 kB / 369.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.1742, allocations: 1.12 MB / 370.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.1742, allocations: 37.7 kB / 370.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.1749, allocations: 0.8053 MB / 371.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.175, allocations: 201.2 kB / 371.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1751, allocations: 20 kB / 371.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1752, allocations: 341.9 kB / 371.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.1757, allocations: 249.9 kB / 372.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.1764, allocations: 0.629 MB / 372.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.177, allocations: 346 kB / 373.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.177, allocations: 4 kB / 373.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001588/0.1786, allocations: 1.006 MB / 374.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.179, allocations: 485.5 kB / 374.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.1791, allocations: 12 kB / 374.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1793, allocations: 40.84 kB / 374.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.18, allocations: 231.6 kB / 374.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.181, allocations: 1.292 MB / 376.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.1816, allocations: 56.05 kB / 376.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.1817, allocations: 48 kB / 376.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-06/0.1817, allocations: 0 / 376.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/0.1829, allocations: 0.8187 MB / 377.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.183, allocations: 12 kB / 377.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-05/0.1831, allocations: 44.8 kB / 377.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.1839, allocations: 215.7 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009254/0.1848, allocations: 1.296 MB / 378.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.1854, allocations: 39.84 kB / 378.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.1855, allocations: 48 kB / 378.7 MB, free: 0.8828 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.000798/0.1863, allocations: 420.8 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1865, allocations: 118.5 kB / 379.3 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2543/0.4407, allocations: 0.5709 MB / 379.8 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.4408, allocations: 8.641 kB / 379.8 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4408, allocations: 1.375 kB / 379.8 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4409, allocations: 2.766 kB / 379.8 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.4453, allocations: 1.884 MB / 381.7 MB, free: 50 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4453, allocations: 2.156 kB / 381.7 MB, free: 50 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.4459, allocations: 112.3 kB / 381.8 MB, free: 50 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.446, allocations: 24.44 kB / 381.9 MB, free: 50 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.4461, allocations: 18 kB / 381.9 MB, free: 50 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008769/0.447, allocations: 1.275 MB / 383.1 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.447, allocations: 2.188 kB / 383.1 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.4489, allocations: 0.9447 MB / 384.1 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.4494, allocations: 243.9 kB / 384.3 MB, free: 48.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4495, allocations: 14.28 kB / 384.3 MB, free: 48.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.45, allocations: 43.48 kB / 384.4 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.4501, allocations: 36.2 kB / 384.4 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.4501, allocations: 16.69 kB / 384.4 MB, free: 48.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.4514, allocations: 0.7479 MB / 385.2 MB, free: 48.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4514, allocations: 1.312 kB / 385.2 MB, free: 48.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001779/0.4532, allocations: 471.3 kB / 385.6 MB, free: 48.06 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.0002823/0.4535, allocations: 128.5 kB / 385.8 MB, free: 47.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.4561, allocations: 1.255 MB / 387 MB, free: 47.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4561, allocations: 1.25 kB / 387 MB, free: 47.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.4568, allocations: 362.2 kB / 387.4 MB, free: 47.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4585, allocations: 265.8 kB / 387.6 MB, free: 47.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/0.466, allocations: 3.136 MB / 390.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.4671, allocations: 1.171 MB / 392 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.4676, allocations: 83.78 kB / 392 MB, free: 44.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.325e-06/0.4676, allocations: 0 / 392 MB, free: 44.53 MB / 318.1 MB Notification: Performance of Templates: time 0.03284/0.5005, allocations: 22.79 MB / 414.8 MB, free: 27.58 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPMCalcHelperMain.o] Error 1