Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 92.14 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 198.4 kB / 18.54 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002539, allocations: 8 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008003/0.1448, allocations: 6.299 MB / 365.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.1497, allocations: 2.214 MB / 367.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.1504, allocations: 19.94 kB / 367.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.1519, allocations: 417.7 kB / 367.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.153, allocations: 313.6 kB / 368 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1534, allocations: 127.9 kB / 368.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1548, allocations: 1.081 MB / 369.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.1555, allocations: 356.6 kB / 369.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007398/0.1562, allocations: 382.3 kB / 370 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.1568, allocations: 402.1 kB / 370.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1569, allocations: 52 kB / 370.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.1572, allocations: 95.91 kB / 370.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1574, allocations: 155.3 kB / 370.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.1576, allocations: 225.1 kB / 370.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1589, allocations: 1.122 MB / 372 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1589, allocations: 0 / 372 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1589, allocations: 0 / 372 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.159, allocations: 0 / 372 MB, free: 0.8359 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.3602/0.5192, allocations: 1.1 MB / 373.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.5192, allocations: 9.188 kB / 373.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/0.5202, allocations: 141.3 kB / 373.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.5217, allocations: 0.6199 MB / 373.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/0.5218, allocations: 60.39 kB / 373.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.522, allocations: 86.47 kB / 374 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.5242, allocations: 0.7793 MB / 374.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.5243, allocations: 2.734 kB / 374.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5244, allocations: 35.09 kB / 374.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.979e-05/0.5244, allocations: 19.97 kB / 374.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.526, allocations: 0.5241 MB / 375.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005327/0.5313, allocations: 3.412 MB / 378.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.5319, allocations: 238.8 kB / 379 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.5322, allocations: 122.9 kB / 379.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.5323, allocations: 3.125 kB / 379.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5323, allocations: 37.97 kB / 379.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 3.586e-06/0.5323, allocations: 0 / 379.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002404/0.5347, allocations: 1.079 MB / 380.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5348, allocations: 88.62 kB / 380.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.536, allocations: 0.7255 MB / 381.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5361, allocations: 31.95 kB / 381.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.5365, allocations: 0.4898 MB / 381.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/0.5366, allocations: 105.9 kB / 381.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.5366, allocations: 10.31 kB / 381.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5368, allocations: 380.8 kB / 382.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.5371, allocations: 129.9 kB / 382.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.5376, allocations: 423.6 kB / 382.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.538, allocations: 205.5 kB / 382.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.538, allocations: 3.688 kB / 382.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001296/0.5393, allocations: 0.6214 MB / 383.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5394, allocations: 10.34 kB / 383.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5394, allocations: 17.38 kB / 383.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.5396, allocations: 32.45 kB / 383.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.5401, allocations: 141.2 kB / 383.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/0.5411, allocations: 1.289 MB / 384.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.5417, allocations: 36.44 kB / 385 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.5417, allocations: 29.31 kB / 385 MB, free: 12.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003862/0.5421, allocations: 246.1 kB / 385.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5423, allocations: 69.66 kB / 385.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.5431, allocations: 330.6 kB / 385.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5431, allocations: 8.234 kB / 385.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5431, allocations: 4.188 kB / 385.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5431, allocations: 1.312 kB / 385.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.5452, allocations: 1.125 MB / 386.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5452, allocations: 2.188 kB / 386.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.5455, allocations: 58.02 kB / 386.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-05/0.5456, allocations: 27 kB / 386.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.5456, allocations: 9.109 kB / 386.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007714/0.5464, allocations: 1.272 MB / 388.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5464, allocations: 2.438 kB / 388.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.5475, allocations: 0.5815 MB / 388.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.5477, allocations: 171.9 kB / 388.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.5478, allocations: 7.906 kB / 388.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.5482, allocations: 23.59 kB / 388.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5483, allocations: 30.97 kB / 388.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5483, allocations: 11.44 kB / 388.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.5492, allocations: 0.493 MB / 389.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5492, allocations: 1.188 kB / 389.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001128/0.5503, allocations: 162.2 kB / 389.6 MB, free: 9.066 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 (27): * Single equations (assignments): 26 * 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.0002615/0.5506, allocations: 113.3 kB / 389.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.5517, allocations: 478.3 kB / 390.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5517, allocations: 0 / 390.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.5522, allocations: 245.4 kB / 390.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5532, allocations: 171.2 kB / 390.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.5565, allocations: 1.786 MB / 392.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.5572, allocations: 0.9483 MB / 393.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.5574, allocations: 49.97 kB / 393.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5574, allocations: 0 / 393.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of Templates: time 0.02727/0.5847, allocations: 13.28 MB / 406.7 MB, free: 13.71 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_StartCalcHelperMain.o] Error 1