Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 99.3 kB / 17.96 MB, free: 5.766 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.001286/0.001287, allocations: 178.7 kB / 18.86 MB, free: 4.906 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.153/2.153, 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.0005198/0.0005198, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01146/0.1509, allocations: 7.614 MB / 337.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1576, allocations: 2.685 MB / 339.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.1593, allocations: 27.94 kB / 339.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.1615, allocations: 481.3 kB / 340.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1635, allocations: 369.3 kB / 340.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.1644, allocations: 315.7 kB / 341.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.1661, allocations: 1.425 MB / 342.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.167, allocations: 0.5252 MB / 343 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.1676, allocations: 461.6 kB / 343.5 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.1682, allocations: 0.5167 MB / 344 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.1683, allocations: 64 kB / 344.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.1686, allocations: 99.98 kB / 344.2 MB, free: 5.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.1688, allocations: 202.8 kB / 344.4 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006023/0.1694, allocations: 0.5961 MB / 344.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.1708, allocations: 1.324 MB / 346.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1708, allocations: 4 kB / 346.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1708, allocations: 0 / 346.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.1709, allocations: 4 kB / 346.3 MB, free: 2.977 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.00234/0.1732, allocations: 1.308 MB / 347.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1733, allocations: 8.031 kB / 347.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.1739, allocations: 187.3 kB / 347.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.1752, allocations: 0.786 MB / 348.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.1753, allocations: 78.12 kB / 348.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1754, allocations: 96 kB / 348.7 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1771, allocations: 0.9575 MB / 349.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.1772, allocations: 7.906 kB / 349.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.1773, allocations: 43.98 kB / 349.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.1773, allocations: 24 kB / 349.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1786, allocations: 0.6519 MB / 350.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.1841, allocations: 4.135 MB / 354.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1852, allocations: 475 kB / 355 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1855, allocations: 173 kB / 355.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.1856, allocations: 15.72 kB / 355.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.1857, allocations: 38.56 kB / 355.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.1857, allocations: 0 / 355.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00269/0.1884, allocations: 1.353 MB / 356.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.1885, allocations: 110.8 kB / 356.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.1897, allocations: 0.9018 MB / 357.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.1897, allocations: 33.7 kB / 357.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.1902, allocations: 0.5954 MB / 358.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1904, allocations: 149.8 kB / 358.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.1905, allocations: 65.69 kB / 358.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1907, allocations: 330 kB / 358.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.191, allocations: 173.9 kB / 358.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/0.1919, allocations: 0.4899 MB / 359.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.1933, allocations: 0.6948 MB / 360.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1933, allocations: 0 / 360.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00137/0.1947, allocations: 0.7661 MB / 360.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004035/0.1951, allocations: 392.9 kB / 361.3 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.1951, allocations: 16 kB / 361.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.1953, allocations: 28.84 kB / 361.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.1959, allocations: 183.6 kB / 361.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1971, allocations: 1.288 MB / 362.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.1976, allocations: 47.83 kB / 362.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.1977, allocations: 36.11 kB / 362.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.1977, allocations: 8 kB / 362.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009857/0.1987, allocations: 0.6097 MB / 363.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.1988, allocations: 12 kB / 363.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-05/0.1989, allocations: 36.84 kB / 363.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.1994, allocations: 167.7 kB / 363.7 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2006, allocations: 1.288 MB / 365 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2011, allocations: 35.84 kB / 365 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.2011, allocations: 36 kB / 365 MB, free: 14.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0005271/0.2017, allocations: 337 kB / 365.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2018, allocations: 94.86 kB / 365.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.2027, allocations: 447.1 kB / 365.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2028, allocations: 4 kB / 365.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.2028, allocations: 0 / 365.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2028, allocations: 7.984 kB / 365.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.205, allocations: 1.402 MB / 367.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.205, allocations: 4 kB / 367.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2053, allocations: 83.89 kB / 367.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/0.2054, allocations: 16.86 kB / 367.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.2055, allocations: 12 kB / 367.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.2067, allocations: 1.28 MB / 368.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2067, allocations: 4.031 kB / 368.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2079, allocations: 0.7327 MB / 369.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.2081, allocations: 204 kB / 369.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.2082, allocations: 12 kB / 369.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2086, allocations: 27.98 kB / 369.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2087, allocations: 31.89 kB / 369.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2087, allocations: 12 kB / 369.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008739/0.2096, allocations: 0.6133 MB / 370.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2096, allocations: 0 / 370.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001282/0.2109, allocations: 348 kB / 370.7 MB, free: 9.004 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadTorque.phi,firstOrder.y,PID.I.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 (39): * Single equations (assignments): 38 * 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.000239/0.2112, allocations: 119.2 kB / 370.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.2128, allocations: 0.9828 MB / 371.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2128, allocations: 0 / 371.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.2133, allocations: 290.5 kB / 372.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.2147, allocations: 228.2 kB / 372.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.2184, allocations: 2.398 MB / 374.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.2193, allocations: 1.025 MB / 375.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2194, allocations: 63.44 kB / 375.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2194, allocations: 0 / 375.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Templates: time 0.2462/0.4657, allocations: 16.66 MB / 392.4 MB, free: 44.61 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.DCMachines.DCPM_CurrentControlledCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.o] Error 1