Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.92 kB / 16.96 MB, free: 6.461 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.001336/0.001336, allocations: 180.4 kB / 17.84 MB, free: 6 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.601/1.601, allocations: 223.2 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002939, allocations: 4.875 kB / 301.5 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 50.42 MB / 351.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009041/0.1609, allocations: 7.009 MB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.167, allocations: 2.455 MB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.1682, allocations: 16 kB / 361.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1699, allocations: 429.6 kB / 361.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.1711, allocations: 337.5 kB / 362.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.1716, allocations: 135.8 kB / 362.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.1733, allocations: 1.105 MB / 363.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.174, allocations: 392.1 kB / 363.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.1746, allocations: 394.2 kB / 364.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.1752, allocations: 438 kB / 364.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.1753, allocations: 52 kB / 364.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.1756, allocations: 91.98 kB / 364.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1758, allocations: 159.2 kB / 364.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.1761, allocations: 229.2 kB / 365.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.1773, allocations: 1.137 MB / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1773, allocations: 4 kB / 366.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1773, allocations: 0 / 366.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1773, allocations: 4 kB / 366.2 MB, free: 5.359 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002233/0.1796, allocations: 1.157 MB / 367.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.1797, allocations: 12.03 kB / 367.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/0.1802, allocations: 146.6 kB / 367.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1813, allocations: 0.6134 MB / 368.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.1814, allocations: 62 kB / 368.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.1816, allocations: 83.98 kB / 368.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.1831, allocations: 0.8223 MB / 369.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.1831, allocations: 7.906 kB / 369.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.1832, allocations: 39.95 kB / 369.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.1833, allocations: 20 kB / 369.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1843, allocations: 0.5466 MB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/0.4823, allocations: 3.588 MB / 373.3 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.4831, allocations: 249 kB / 373.5 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4835, allocations: 124.3 kB / 373.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.4835, allocations: 3.734 kB / 373.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4835, allocations: 34.98 kB / 373.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 6.302e-06/0.4836, allocations: 1.078 kB / 373.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002802/0.4864, allocations: 1.107 MB / 374.8 MB, free: 21.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4864, allocations: 84.77 kB / 374.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4878, allocations: 0.7521 MB / 375.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4878, allocations: 30.61 kB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.4882, allocations: 0.5165 MB / 376.2 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.4883, allocations: 112.7 kB / 376.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.4884, allocations: 10.03 kB / 376.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4885, allocations: 382.5 kB / 376.7 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.4889, allocations: 137.7 kB / 376.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.4894, allocations: 451.9 kB / 377.3 MB, free: 20.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.4898, allocations: 213.3 kB / 377.5 MB, free: 20.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4899, allocations: 4.188 kB / 377.5 MB, free: 20.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001209/0.4911, allocations: 0.6613 MB / 378.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.4911, allocations: 12.53 kB / 378.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.4912, allocations: 13.58 kB / 378.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.4914, allocations: 32.75 kB / 378.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.4919, allocations: 157.4 kB / 378.3 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/0.4928, allocations: 1.29 MB / 379.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.4934, allocations: 45.22 kB / 379.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.4935, allocations: 36.09 kB / 379.7 MB, free: 18.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000398/0.4939, allocations: 239 kB / 379.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.494, allocations: 74.72 kB / 380 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.4948, allocations: 356.2 kB / 380.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4948, allocations: 3.078 kB / 380.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.4948, allocations: 2.594 kB / 380.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4948, allocations: 5.359 kB / 380.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.497, allocations: 1.126 MB / 381.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4971, allocations: 2.906 kB / 381.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.4974, allocations: 70.89 kB / 381.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.4975, allocations: 23.12 kB / 381.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.4976, allocations: 8.891 kB / 381.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008606/0.4984, allocations: 1.278 MB / 382.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4985, allocations: 6.125 kB / 382.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4995, allocations: 0.5932 MB / 383.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.4998, allocations: 176 kB / 383.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.4999, allocations: 15.33 kB / 383.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.5002, allocations: 28.61 kB / 383.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.5003, allocations: 23.48 kB / 383.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.5004, allocations: 8.375 kB / 383.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009469/0.5013, allocations: 0.5101 MB / 384.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5013, allocations: 0 / 384.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001059/0.5024, allocations: 173.7 kB / 384.4 MB, free: 15.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (28): * Single equations (assignments): 27 * 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.0002872/0.5027, allocations: 126.6 kB / 384.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5037, allocations: 0.4888 MB / 385 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5037, allocations: 3.938 kB / 385 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.5041, allocations: 250.1 kB / 385.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5052, allocations: 184 kB / 385.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.5082, allocations: 1.828 MB / 387.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/0.509, allocations: 0.9521 MB / 388.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5092, allocations: 54.8 kB / 388.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5092, allocations: 0 / 388.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Templates: time 0.02828/0.5375, allocations: 13.69 MB / 402 MB, free: 5.629 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_TemperatureCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.o] Error 1