Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009307/0.0009308, allocations: 91.11 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009439/0.000944, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003048, allocations: 4 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 51.48 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007761/0.1394, allocations: 7.031 MB / 365.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.1443, allocations: 2.487 MB / 368.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006109/0.1449, allocations: 23.94 kB / 368.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1461, allocations: 421.6 kB / 368.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.147, allocations: 329.5 kB / 369.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.1474, allocations: 143.8 kB / 369.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1484, allocations: 1.118 MB / 370.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.149, allocations: 400 kB / 370.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.1496, allocations: 390.3 kB / 371.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.15, allocations: 437.9 kB / 371.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.1501, allocations: 56 kB / 371.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.1504, allocations: 104 kB / 371.7 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1505, allocations: 159.2 kB / 371.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1507, allocations: 225.2 kB / 372.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2863/0.437, allocations: 1.132 MB / 373.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.437, allocations: 0 / 373.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4371, allocations: 0.5625 kB / 373.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.632e-05/0.4371, allocations: 0 / 373.2 MB, free: 11.11 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.002969/0.4401, allocations: 1.163 MB / 374.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.4402, allocations: 8.688 kB / 374.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.441, allocations: 185.5 kB / 374.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4424, allocations: 0.6053 MB / 375.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.4425, allocations: 65.06 kB / 375.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.4426, allocations: 89.53 kB / 375.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.4447, allocations: 0.8202 MB / 376.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.4448, allocations: 6.203 kB / 376.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4449, allocations: 39.97 kB / 376.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.445, allocations: 21.88 kB / 376.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.4464, allocations: 0.548 MB / 376.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/0.453, allocations: 3.588 MB / 380.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.4539, allocations: 240.3 kB / 380.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.4542, allocations: 130.6 kB / 380.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.4543, allocations: 4.906 kB / 380.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4543, allocations: 40.38 kB / 380.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.957e-06/0.4543, allocations: 0 / 380.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003037/0.4574, allocations: 1.111 MB / 381.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.4575, allocations: 84.83 kB / 381.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4588, allocations: 0.7546 MB / 382.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4588, allocations: 30.61 kB / 382.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.4592, allocations: 0.5154 MB / 383.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4594, allocations: 112.8 kB / 383.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.4594, allocations: 12.38 kB / 383.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4596, allocations: 381.9 kB / 383.7 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.4599, allocations: 137.6 kB / 383.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.4604, allocations: 454.9 kB / 384.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.4608, allocations: 208.7 kB / 384.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4608, allocations: 2.219 kB / 384.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001221/0.462, allocations: 0.6546 MB / 385.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.4621, allocations: 10.19 kB / 385.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.4621, allocations: 14.05 kB / 385.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.4623, allocations: 36.89 kB / 385.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.4628, allocations: 155.3 kB / 385.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/0.4637, allocations: 1.297 MB / 386.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.4643, allocations: 48.08 kB / 386.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.4644, allocations: 34.83 kB / 386.7 MB, free: 4.781 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.0003906/0.4648, allocations: 237.8 kB / 387 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4649, allocations: 81.66 kB / 387.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/0.4657, allocations: 350.7 kB / 387.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4657, allocations: 4.391 kB / 387.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.4657, allocations: 0 / 387.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4657, allocations: 6.25 kB / 387.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.4677, allocations: 1.136 MB / 388.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4677, allocations: 3.234 kB / 388.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.468, allocations: 69.64 kB / 388.6 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-05/0.4682, allocations: 24.27 kB / 388.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.4682, allocations: 8.094 kB / 388.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/0.4689, allocations: 1.271 MB / 389.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4689, allocations: 4.969 kB / 389.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.4699, allocations: 0.5924 MB / 390.5 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.4702, allocations: 174.2 kB / 390.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.4703, allocations: 14.83 kB / 390.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.4706, allocations: 29.25 kB / 390.7 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.4707, allocations: 29.53 kB / 390.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.4708, allocations: 8.828 kB / 390.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008523/0.4716, allocations: 0.5152 MB / 391.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4716, allocations: 0 / 391.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009769/0.4726, allocations: 168.3 kB / 391.5 MB, free: 2.414 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.0002684/0.4729, allocations: 120.6 kB / 391.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.474, allocations: 487.5 kB / 392 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.474, allocations: 1.406 kB / 392 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.4745, allocations: 250 kB / 392.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4756, allocations: 183.9 kB / 392.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.4785, allocations: 1.837 MB / 394.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.479, allocations: 0.9519 MB / 395.3 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.4792, allocations: 55.78 kB / 395.3 MB, free: 144 kB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4792, allocations: 0 / 395.3 MB, free: 144 kB / 302.1 MB Notification: Performance of Templates: time 0.03012/0.5093, allocations: 13.7 MB / 409 MB, free: 7.297 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.o] Error 1