Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 94.48 kB / 16.95 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.001146/0.001146, allocations: 180.8 kB / 17.84 MB, free: 5.613 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.597/1.597, allocations: 223.2 MB / 241.8 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 7.984 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009879/0.1418, allocations: 7.111 MB / 359 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.1471, allocations: 2.464 MB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.1483, allocations: 23.94 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.1507, allocations: 477.3 kB / 361.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.1532, allocations: 377.2 kB / 362.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1542, allocations: 151.8 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.157, allocations: 1.334 MB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.1584, allocations: 435.2 kB / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.1597, allocations: 449.9 kB / 364.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.1613, allocations: 0.4938 MB / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.1617, allocations: 68 kB / 365.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.1625, allocations: 104 kB / 365.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.163, allocations: 195 kB / 365.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008141/0.1638, allocations: 257.1 kB / 365.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.1662, allocations: 1.348 MB / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.1662, allocations: 0 / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1662, allocations: 0 / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.214e-05/0.1663, allocations: 0 / 367.1 MB, free: 4.68 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003068/0.1694, allocations: 1.266 MB / 368.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1694, allocations: 12.03 kB / 368.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006725/0.1701, allocations: 190.3 kB / 368.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1713, allocations: 0.7029 MB / 369.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.43e-05/0.1714, allocations: 70 kB / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.1716, allocations: 99.94 kB / 369.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.1739, allocations: 0.9308 MB / 370.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.174, allocations: 11.84 kB / 370.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.1741, allocations: 47.95 kB / 370.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.1742, allocations: 24 kB / 370.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.176, allocations: 0.6364 MB / 371.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2649/0.4409, allocations: 3.935 MB / 375 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.4417, allocations: 438.8 kB / 375.4 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.4423, allocations: 264.5 kB / 375.7 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.4424, allocations: 4.703 kB / 375.7 MB, free: 22.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4424, allocations: 46 kB / 375.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.384e-06/0.4424, allocations: 2.094 kB / 375.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002886/0.4453, allocations: 1.412 MB / 377.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.4454, allocations: 86.34 kB / 377.3 MB, free: 21.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4465, allocations: 0.8166 MB / 378.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4466, allocations: 32.45 kB / 378.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.447, allocations: 0.56 MB / 378.7 MB, free: 20.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4471, allocations: 154.6 kB / 378.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4471, allocations: 12.12 kB / 378.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4473, allocations: 333 kB / 379.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.4476, allocations: 172.8 kB / 379.3 MB, free: 20 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.4481, allocations: 463.7 kB / 379.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.4486, allocations: 242.8 kB / 380 MB, free: 19.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4486, allocations: 3.766 kB / 380 MB, free: 19.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001416/0.45, allocations: 0.7678 MB / 380.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.4501, allocations: 8.406 kB / 380.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4501, allocations: 9.812 kB / 380.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.4504, allocations: 91.92 kB / 380.9 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.451, allocations: 153.6 kB / 381 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.4532, allocations: 2.875 MB / 383.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.4538, allocations: 39.5 kB / 384 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.4539, allocations: 37.88 kB / 384 MB, free: 16.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000438/0.4543, allocations: 258.9 kB / 384.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.4545, allocations: 90.08 kB / 384.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.4554, allocations: 0.4886 MB / 384.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.4555, allocations: 5.703 kB / 384.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4555, allocations: 3.75 kB / 384.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4555, allocations: 2.812 kB / 384.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.4583, allocations: 1.442 MB / 386.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4583, allocations: 2.969 kB / 386.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.4586, allocations: 74.28 kB / 386.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.4588, allocations: 75.08 kB / 386.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.4589, allocations: 13.89 kB / 386.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.4608, allocations: 2.85 MB / 389.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4608, allocations: 6.047 kB / 389.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4623, allocations: 0.7859 MB / 390.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.4625, allocations: 194.1 kB / 390.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.4626, allocations: 10.05 kB / 390.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.463, allocations: 36.44 kB / 390.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4631, allocations: 33.48 kB / 390.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.4632, allocations: 14.58 kB / 390.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.4644, allocations: 0.5539 MB / 390.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4644, allocations: 4 kB / 390.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001459/0.4659, allocations: 205.2 kB / 391.1 MB, free: 11.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.4662, allocations: 119.3 kB / 391.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.468, allocations: 0.6945 MB / 391.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.468, allocations: 5.953 kB / 391.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.4688, allocations: 457.9 kB / 392.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4702, allocations: 207.4 kB / 392.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.4743, allocations: 2.138 MB / 394.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/0.4751, allocations: 1.006 MB / 395.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4753, allocations: 59.27 kB / 395.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4753, allocations: 1.469 kB / 395.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of Templates: time 0.03084/0.5062, allocations: 20.74 MB / 416.5 MB, free: 6.852 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCMachines.DCSE_StartCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o] Error 1