Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009688, allocations: 94.86 kB / 17.58 MB, free: 5.797 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.001289/0.001289, allocations: 185.5 kB / 18.48 MB, free: 5.25 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.931/1.931, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004542/0.0004546, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 47.59 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.01501/0.1267, allocations: 12.82 MB / 341.8 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.1384, allocations: 5.028 MB / 346.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.1419, allocations: 59.75 kB / 346.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.1449, allocations: 0.7495 MB / 347.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.1478, allocations: 460.5 kB / 348.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1496, allocations: 379.5 kB / 348.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.1538, allocations: 2.128 MB / 350.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1561, allocations: 0.8251 MB / 351.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.1578, allocations: 0.6376 MB / 352.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.1596, allocations: 0.7422 MB / 352.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006063/0.1602, allocations: 100 kB / 352.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.1612, allocations: 140 kB / 353 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.1616, allocations: 302.5 kB / 353.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007499/0.1624, allocations: 388.6 kB / 353.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.1651, allocations: 2.36 MB / 356.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1651, allocations: 0 / 356.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1651, allocations: 0 / 356.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.77e-05/0.1652, allocations: 0 / 356.1 MB, free: 8.855 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003857/0.1691, allocations: 1.951 MB / 358 MB, free: 6.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1691, allocations: 8.031 kB / 358 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.1699, allocations: 277.3 kB / 358.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.1718, allocations: 1.091 MB / 359.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.172, allocations: 127.3 kB / 359.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.1722, allocations: 171.9 kB / 359.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.1752, allocations: 1.598 MB / 361.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.1753, allocations: 7.938 kB / 361.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.1754, allocations: 68 kB / 361.4 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.1755, allocations: 40 kB / 361.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.1778, allocations: 1.113 MB / 362.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.1879, allocations: 6.709 MB / 369.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1897, allocations: 0.9911 MB / 370.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.1904, allocations: 326.4 kB / 370.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.1904, allocations: 8.562 kB / 370.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.1905, allocations: 39.12 kB / 370.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 5.82e-06/0.1905, allocations: 0 / 370.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.004345/0.1948, allocations: 2.139 MB / 372.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.1949, allocations: 89.67 kB / 372.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.197, allocations: 1.266 MB / 374.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.1971, allocations: 37.7 kB / 374.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.1978, allocations: 0.8888 MB / 375 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.198, allocations: 244.5 kB / 375.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1981, allocations: 24 kB / 375.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1982, allocations: 349.9 kB / 375.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.1989, allocations: 314.5 kB / 375.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.1997, allocations: 0.7197 MB / 376.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.2005, allocations: 427 kB / 377 MB, free: 2.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.2005, allocations: 4 kB / 377 MB, free: 2.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002163/0.2027, allocations: 1.192 MB / 378.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003881/0.2031, allocations: 488.6 kB / 378.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.2031, allocations: 16 kB / 378.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.2033, allocations: 40.84 kB / 378.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/0.2041, allocations: 279.5 kB / 379 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2354/0.4396, allocations: 1.285 MB / 380.3 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.441, allocations: 70.8 kB / 380.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.4411, allocations: 50.98 kB / 380.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.4411, allocations: 6.375 kB / 380.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001796/0.4429, allocations: 0.9487 MB / 381.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.4429, allocations: 12.38 kB / 381.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.4431, allocations: 44.81 kB / 381.5 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/0.444, allocations: 253.7 kB / 381.7 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008663/0.4449, allocations: 1.305 MB / 383 MB, free: 47.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.4459, allocations: 51.69 kB / 383.1 MB, free: 47.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.4459, allocations: 52 kB / 383.1 MB, free: 47.72 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.0009121/0.4469, allocations: 430.9 kB / 383.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4471, allocations: 138.3 kB / 383.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.4486, allocations: 0.7392 MB / 384.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.4487, allocations: 9.156 kB / 384.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4487, allocations: 2.062 kB / 384.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4487, allocations: 6.422 kB / 384.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.4527, allocations: 2.169 MB / 386.6 MB, free: 46.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4527, allocations: 2 kB / 386.6 MB, free: 46.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.4533, allocations: 143.1 kB / 386.7 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.4534, allocations: 30.98 kB / 386.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.4535, allocations: 18.88 kB / 386.8 MB, free: 46.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007707/0.4543, allocations: 1.278 MB / 388.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4543, allocations: 3.438 kB / 388.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4564, allocations: 1.163 MB / 389.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.4569, allocations: 273.5 kB / 389.5 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.4571, allocations: 15.84 kB / 389.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.4576, allocations: 59.09 kB / 389.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4577, allocations: 47.94 kB / 389.6 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4578, allocations: 18.73 kB / 389.6 MB, free: 44.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.4592, allocations: 0.8404 MB / 390.5 MB, free: 44.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4592, allocations: 1.219 kB / 390.5 MB, free: 44.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002026/0.4613, allocations: 0.506 MB / 391 MB, free: 44.25 MB / 318.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.000292/0.4616, allocations: 135.9 kB / 391.1 MB, free: 44.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.465, allocations: 1.474 MB / 392.6 MB, free: 43.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4651, allocations: 5.125 kB / 392.6 MB, free: 43.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009167/0.466, allocations: 442.3 kB / 393 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4679, allocations: 313.3 kB / 393.3 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/0.4748, allocations: 3.524 MB / 396.8 MB, free: 41.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.4759, allocations: 1.243 MB / 398.1 MB, free: 40.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.4764, allocations: 89.31 kB / 398.2 MB, free: 40.33 MB / 318.1 MB Notification: Performance of SimCode: time 2.434e-06/0.4764, allocations: 0 / 398.2 MB, free: 40.33 MB / 318.1 MB Notification: Performance of Templates: time 0.03668/0.5131, allocations: 25.56 MB / 423.7 MB, free: 18.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPMCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPMCalcHelperMain.o] Error 1