Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009257/0.0009253, allocations: 94.81 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.001269, allocations: 198.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.67/1.67, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 4 kB / 307.3 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1318, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009157/0.1411, allocations: 8.516 MB / 367.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.1469, allocations: 2.899 MB / 370.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.148, allocations: 31.94 kB / 370.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.1494, allocations: 481.2 kB / 370.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1508, allocations: 492.3 kB / 371.2 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1514, allocations: 215.7 kB / 371.4 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2802/0.4317, allocations: 1.57 MB / 373 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4331, allocations: 0.49 MB / 373.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.4352, allocations: 0.5614 MB / 374 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.4368, allocations: 0.6262 MB / 374.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.437, allocations: 84.12 kB / 374.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.4376, allocations: 121.3 kB / 374.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.4381, allocations: 244.3 kB / 375.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.4388, allocations: 314 kB / 375.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.442, allocations: 1.516 MB / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.442, allocations: 0 / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.442, allocations: 0 / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.822e-05/0.4421, allocations: 1.375 kB / 376.9 MB, free: 9.664 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004634/0.4468, allocations: 1.57 MB / 378.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4469, allocations: 9.062 kB / 378.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.4476, allocations: 197.8 kB / 378.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4494, allocations: 0.7873 MB / 379.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4496, allocations: 120.4 kB / 379.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.4498, allocations: 110.5 kB / 379.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.4525, allocations: 1.144 MB / 380.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.4525, allocations: 3.562 kB / 380.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.4527, allocations: 50.86 kB / 380.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.4527, allocations: 26.7 kB / 380.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.4547, allocations: 0.7669 MB / 381.7 MB, free: 8.023 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00777/0.4624, allocations: 3.961 MB / 385.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.4644, allocations: 0.5984 MB / 386.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.4651, allocations: 267.9 kB / 386.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.4651, allocations: 16.31 kB / 386.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.4659, allocations: 303 kB / 386.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/0.4659, allocations: 1.094 kB / 386.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.006339/0.4723, allocations: 2.12 MB / 388.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/0.4726, allocations: 477.4 kB / 389.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.4751, allocations: 1.094 MB / 390.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.4752, allocations: 44.42 kB / 390.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/0.4758, allocations: 0.6421 MB / 391.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.4761, allocations: 234.2 kB / 391.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.4761, allocations: 23.17 kB / 391.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4762, allocations: 342.4 kB / 391.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.4769, allocations: 257.1 kB / 392 MB, free: 3.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4779, allocations: 0.7159 MB / 392.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.4788, allocations: 404.4 kB / 393.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.4788, allocations: 3.406 kB / 393.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002654/0.4815, allocations: 1.141 MB / 394.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.4816, allocations: 62.41 kB / 394.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.4816, allocations: 16.38 kB / 394.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.4824, allocations: 174.7 kB / 394.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/0.4832, allocations: 209.3 kB / 394.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.4877, allocations: 3.547 MB / 398.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4894, allocations: 84.98 kB / 398.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.4895, allocations: 45.66 kB / 398.4 MB, free: 14.94 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009438/0.4905, allocations: 297.5 kB / 398.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.4907, allocations: 128 kB / 398.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.4926, allocations: 0.7217 MB / 399.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4926, allocations: 6.344 kB / 399.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4926, allocations: 4.984 kB / 399.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/0.4944, allocations: 0.9695 MB / 400.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.4981, allocations: 1.807 MB / 402.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4981, allocations: 3 kB / 402.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.4986, allocations: 117.6 kB / 402.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.499, allocations: 124.4 kB / 402.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.4991, allocations: 25.52 kB / 402.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.5029, allocations: 3.274 MB / 405.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5029, allocations: 0 / 405.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.5051, allocations: 1.07 MB / 406.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.5058, allocations: 253 kB / 407.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.5059, allocations: 20.53 kB / 407.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.5066, allocations: 55.56 kB / 407.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.5067, allocations: 56.36 kB / 407.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.5068, allocations: 20.88 kB / 407.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.5081, allocations: 0.7384 MB / 408.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5081, allocations: 0 / 408.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001462/0.5096, allocations: 306.8 kB / 408.4 MB, free: 7.391 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,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003055/0.5099, allocations: 139.8 kB / 408.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.5123, allocations: 1.104 MB / 409.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5123, allocations: 2.188 kB / 409.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009659/0.5133, allocations: 0.5491 MB / 410.2 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5148, allocations: 317.6 kB / 410.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.5195, allocations: 2.752 MB / 413.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/0.5205, allocations: 1.086 MB / 414.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.5208, allocations: 83.44 kB / 414.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5208, allocations: 0 / 414.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Templates: time 0.04065/0.5614, allocations: 26.04 MB / 440.4 MB, free: 7.289 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_CoolingCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.o] Error 1