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.001056/0.001056, allocations: 99.61 kB / 17.96 MB, free: 5.637 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.001207/0.001207, allocations: 172.7 kB / 18.86 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005158/0.0005156, allocations: 8 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.153, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01781/0.1708, allocations: 13.18 MB / 342.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.185, allocations: 4.999 MB / 347.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004634/0.1897, allocations: 55.75 kB / 347.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.1937, allocations: 0.7654 MB / 348.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.1972, allocations: 472.6 kB / 349.1 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1991, allocations: 463.6 kB / 349.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004742/0.2039, allocations: 2.026 MB / 351.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.2066, allocations: 0.9731 MB / 352.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.2084, allocations: 0.618 MB / 353.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.2102, allocations: 0.7109 MB / 353.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.2108, allocations: 99.94 kB / 353.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2118, allocations: 136 kB / 354.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.2121, allocations: 286.5 kB / 354.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.2133, allocations: 0.8407 MB / 355.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.2159, allocations: 2.177 MB / 357.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.216, allocations: 0 / 357.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.216, allocations: 0 / 357.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.216, allocations: 0 / 357.4 MB, free: 7.816 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.003603/0.2196, allocations: 1.747 MB / 359.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.2197, allocations: 8.031 kB / 359.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.2205, allocations: 242.6 kB / 359.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.2223, allocations: 1.032 MB / 360.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.2224, allocations: 119.4 kB / 360.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.2227, allocations: 152.3 kB / 360.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.2255, allocations: 1.435 MB / 362.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.2256, allocations: 11.92 kB / 362.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.2257, allocations: 60 kB / 362.2 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.2258, allocations: 39.98 kB / 362.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.2279, allocations: 0.9752 MB / 363.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009422/0.2373, allocations: 6.179 MB / 369.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2387, allocations: 0.6674 MB / 370 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.2391, allocations: 254 kB / 370.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.2392, allocations: 8.438 kB / 370.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2392, allocations: 35 kB / 370.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.565e-06/0.2393, allocations: 0 / 370.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.003754/0.243, allocations: 1.765 MB / 372.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.2431, allocations: 81.55 kB / 372.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.245, allocations: 1.124 MB / 373.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.2451, allocations: 41.7 kB / 373.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/0.246, allocations: 0.8092 MB / 374.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2463, allocations: 197.2 kB / 374.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2464, allocations: 85.67 kB / 374.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.2467, allocations: 341.9 kB / 374.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.2473, allocations: 253.9 kB / 375 MB, free: 5.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.2484, allocations: 0.629 MB / 375.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.2501, allocations: 0.938 MB / 376.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2501, allocations: 4 kB / 376.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002049/0.2522, allocations: 1.022 MB / 377.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005321/0.2527, allocations: 469.4 kB / 378.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.2528, allocations: 15.94 kB / 378.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.253, allocations: 44.84 kB / 378.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.2538, allocations: 231.6 kB / 378.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.2551, allocations: 1.299 MB / 379.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/0.2559, allocations: 51.89 kB / 379.7 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.256, allocations: 48 kB / 379.7 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.256, allocations: 8.094 kB / 379.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3161/0.572, allocations: 0.8165 MB / 380.6 MB, free: 33.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.5721, allocations: 13.75 kB / 380.6 MB, free: 33.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.5723, allocations: 37.33 kB / 380.6 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.573, allocations: 219.8 kB / 380.8 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008822/0.5739, allocations: 1.305 MB / 382.1 MB, free: 32.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.5749, allocations: 38.17 kB / 382.2 MB, free: 32.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.575, allocations: 47.52 kB / 382.2 MB, free: 32.66 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008099/0.5758, allocations: 411.9 kB / 382.6 MB, free: 32.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.5761, allocations: 119 kB / 382.7 MB, free: 32.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.5774, allocations: 0.5882 MB / 383.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5774, allocations: 4.75 kB / 383.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5774, allocations: 1.156 kB / 383.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5774, allocations: 2.672 kB / 383.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.5806, allocations: 1.886 MB / 385.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5806, allocations: 2.781 kB / 385.2 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.5811, allocations: 105.8 kB / 385.3 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.5812, allocations: 30.97 kB / 385.3 MB, free: 32.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.5813, allocations: 13.77 kB / 385.4 MB, free: 32.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/0.5821, allocations: 1.276 MB / 386.6 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5821, allocations: 3.641 kB / 386.6 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.5839, allocations: 0.9414 MB / 387.6 MB, free: 30.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.5843, allocations: 247.3 kB / 387.8 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5844, allocations: 19.91 kB / 387.8 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.5849, allocations: 41.97 kB / 387.9 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.585, allocations: 36.8 kB / 387.9 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.5851, allocations: 16.16 kB / 387.9 MB, free: 30.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.5865, allocations: 0.7619 MB / 388.7 MB, free: 30.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5865, allocations: 0 / 388.7 MB, free: 30.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001864/0.5883, allocations: 470.4 kB / 389.2 MB, free: 30.37 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002906/0.5886, allocations: 125.5 kB / 389.3 MB, free: 30.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.5913, allocations: 1.271 MB / 390.6 MB, free: 30.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5913, allocations: 0 / 390.6 MB, free: 30.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.592, allocations: 360.6 kB / 390.9 MB, free: 29.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5937, allocations: 266.7 kB / 391.2 MB, free: 29.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.599, allocations: 3.299 MB / 394.5 MB, free: 28.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.5999, allocations: 1.173 MB / 395.6 MB, free: 27.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.6002, allocations: 78.7 kB / 395.7 MB, free: 27.29 MB / 318.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6002, allocations: 0 / 395.7 MB, free: 27.29 MB / 318.1 MB Notification: Performance of Templates: time 0.03056/0.6308, allocations: 22.78 MB / 418.5 MB, free: 11.38 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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