Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009304/0.0009303, allocations: 91.05 kB / 17.95 MB, free: 5.633 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.001217/0.001217, allocations: 176.3 kB / 18.86 MB, free: 4.766 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.075/2.075, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005205/0.0005206, allocations: 20 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01177/0.1706, allocations: 8.994 MB / 338.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008171/0.1788, allocations: 3.004 MB / 341.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.1806, allocations: 23.94 kB / 341.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.1826, allocations: 0.5167 MB / 342.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1848, allocations: 496.4 kB / 342.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.1857, allocations: 275.7 kB / 342.9 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.188, allocations: 1.685 MB / 344.6 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.189, allocations: 0.5454 MB / 345.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1902, allocations: 0.5678 MB / 345.7 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000984/0.1912, allocations: 0.6646 MB / 346.4 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1914, allocations: 84 kB / 346.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.1918, allocations: 116 kB / 346.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.1921, allocations: 254.8 kB / 346.8 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008889/0.193, allocations: 0.7479 MB / 347.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.1947, allocations: 1.503 MB / 349.1 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.1947, allocations: 0 / 349.1 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.1948, allocations: 4 kB / 349.1 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.1948, allocations: 4 kB / 349.1 MB, free: 180 kB / 286.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.003444/0.1982, allocations: 1.547 MB / 350.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.1983, allocations: 12.03 kB / 350.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.199, allocations: 203 kB / 350.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.2004, allocations: 0.8133 MB / 351.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.2006, allocations: 112.4 kB / 351.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.2008, allocations: 116 kB / 351.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.2029, allocations: 1.158 MB / 353 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.203, allocations: 3.938 kB / 353 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.2031, allocations: 48 kB / 353.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.2032, allocations: 28 kB / 353.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2048, allocations: 0.7769 MB / 353.9 MB, free: 11.16 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.006472/0.2113, allocations: 3.969 MB / 357.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.213, allocations: 0.6009 MB / 358.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.2135, allocations: 278.9 kB / 358.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.008e-05/0.2136, allocations: 16.55 kB / 358.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007887/0.2144, allocations: 307.1 kB / 359 MB, free: 5.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 3.877e-06/0.2144, allocations: 0 / 359 MB, free: 5.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00531/0.2197, allocations: 2.131 MB / 361.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003715/0.2201, allocations: 471.2 kB / 361.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.2219, allocations: 1.105 MB / 362.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.222, allocations: 41.7 kB / 362.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000636/0.2226, allocations: 0.6427 MB / 363.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.2228, allocations: 232.8 kB / 363.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.223, allocations: 85.67 kB / 363.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2232, allocations: 345.9 kB / 364.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.2237, allocations: 262.4 kB / 364.3 MB, free: 244 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2247, allocations: 0.7169 MB / 365 MB, free: 15.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.2263, allocations: 0.961 MB / 366 MB, free: 14.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.2263, allocations: 7.938 kB / 366 MB, free: 14.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002477/0.2288, allocations: 1.161 MB / 367.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2289, allocations: 71.39 kB / 367.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.2289, allocations: 15.94 kB / 367.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.2297, allocations: 161.1 kB / 367.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.2304, allocations: 219.7 kB / 367.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/0.2353, allocations: 3.552 MB / 371.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2367, allocations: 75.86 kB / 371.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.2368, allocations: 48.12 kB / 371.3 MB, free: 8.57 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007764/0.2376, allocations: 293.7 kB / 371.6 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.2378, allocations: 130.4 kB / 371.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.2396, allocations: 0.7272 MB / 372.4 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2396, allocations: 8 kB / 372.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2396, allocations: 0 / 372.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.2413, allocations: 0.9803 MB / 373.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.2446, allocations: 1.81 MB / 375.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.2447, allocations: 3.938 kB / 375.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.2452, allocations: 115.8 kB / 375.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.2456, allocations: 125.8 kB / 375.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.2457, allocations: 23.97 kB / 375.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.2495, allocations: 3.271 MB / 378.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2496, allocations: 4.031 kB / 378.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3335/0.5831, allocations: 1.076 MB / 379.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.5844, allocations: 254.1 kB / 380.1 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5845, allocations: 18.47 kB / 380.1 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.5853, allocations: 50.66 kB / 380.2 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.5856, allocations: 55.41 kB / 380.2 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.5857, allocations: 19.16 kB / 380.2 MB, free: 50.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.5877, allocations: 0.7472 MB / 381 MB, free: 50.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.5877, allocations: 0 / 381 MB, free: 50.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002242/0.59, allocations: 311.7 kB / 381.3 MB, free: 50.75 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 (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.5905, allocations: 131.3 kB / 381.4 MB, free: 50.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.5935, allocations: 1.109 MB / 382.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.5935, allocations: 1.344 kB / 382.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.5946, allocations: 0.5587 MB / 383.1 MB, free: 50.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5966, allocations: 307.2 kB / 383.4 MB, free: 50.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/0.6029, allocations: 2.874 MB / 386.3 MB, free: 48.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.604, allocations: 1.086 MB / 387.3 MB, free: 47.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.6044, allocations: 81.41 kB / 387.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of SimCode: time 1.834e-06/0.6044, allocations: 2.031 kB / 387.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of Templates: time 0.04797/0.6523, allocations: 26 MB / 413.4 MB, free: 29.57 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_CoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.o] Error 1