Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.001275/0.001275, allocations: 187.8 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0005031/0.0005031, allocations: 19.92 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1334, allocations: 47.57 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00871/0.1421, allocations: 7.077 MB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006756/0.149, allocations: 2.504 MB / 338.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1503, allocations: 23.94 kB / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.1522, allocations: 469.4 kB / 339.1 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1538, allocations: 385.1 kB / 339.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.1545, allocations: 151.8 kB / 339.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1562, allocations: 1.33 MB / 340.9 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.1569, allocations: 419.2 kB / 341.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008305/0.1578, allocations: 461.9 kB / 341.8 MB, free: 7.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.1584, allocations: 0.4899 MB / 342.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1585, allocations: 68 kB / 342.3 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1589, allocations: 104 kB / 342.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.1591, allocations: 191.1 kB / 342.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.1594, allocations: 261.1 kB / 342.9 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.1608, allocations: 1.34 MB / 344.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.1608, allocations: 0 / 344.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1609, allocations: 0 / 344.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.1609, allocations: 0 / 344.2 MB, free: 4.754 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00251/0.1634, allocations: 1.273 MB / 345.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/0.1635, allocations: 8.031 kB / 345.5 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.1642, allocations: 194.4 kB / 345.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1654, allocations: 0.7029 MB / 346.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.1655, allocations: 74 kB / 346.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1656, allocations: 99.91 kB / 346.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1673, allocations: 0.9346 MB / 347.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1673, allocations: 0 / 347.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/0.1674, allocations: 40 kB / 347.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.1674, allocations: 28 kB / 347.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1687, allocations: 0.648 MB / 348.2 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.1742, allocations: 3.934 MB / 352.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.1749, allocations: 445.4 kB / 352.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.1755, allocations: 265.4 kB / 352.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.1755, allocations: 8.266 kB / 352.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1756, allocations: 42.83 kB / 352.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 4.097e-06/0.1756, allocations: 0 / 352.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003041/0.1786, allocations: 1.419 MB / 354.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.1787, allocations: 85.11 kB / 354.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1799, allocations: 0.8174 MB / 355.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.18, allocations: 37.7 kB / 355.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.1805, allocations: 0.5564 MB / 355.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.1806, allocations: 157.8 kB / 355.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.1806, allocations: 12 kB / 356 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1808, allocations: 337.9 kB / 356.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.1812, allocations: 169.9 kB / 356.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.1817, allocations: 463.9 kB / 356.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.1822, allocations: 245.8 kB / 357.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1822, allocations: 0 / 357.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001257/0.1834, allocations: 0.771 MB / 357.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1835, allocations: 8 kB / 357.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.1835, allocations: 12 kB / 357.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.1838, allocations: 85.92 kB / 358 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.1843, allocations: 151.8 kB / 358.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.1869, allocations: 2.872 MB / 361 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.1876, allocations: 35.98 kB / 361.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.1876, allocations: 32 kB / 361.1 MB, free: 2.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000609/0.1882, allocations: 265.6 kB / 361.4 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1884, allocations: 82.97 kB / 361.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/0.1893, allocations: 0.5034 MB / 361.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1893, allocations: 4 kB / 362 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1894, allocations: 0 / 362 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1894, allocations: 3.984 kB / 362 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.1919, allocations: 1.446 MB / 363.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1919, allocations: 0 / 363.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.1923, allocations: 75.89 kB / 363.5 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.1925, allocations: 77.78 kB / 363.6 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.1926, allocations: 19.94 kB / 363.6 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.1951, allocations: 2.849 MB / 366.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1952, allocations: 0 / 366.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1965, allocations: 0.7806 MB / 367.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.1969, allocations: 200 kB / 367.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.197, allocations: 16.08 kB / 367.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.1974, allocations: 35.97 kB / 367.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.1975, allocations: 35.94 kB / 367.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1975, allocations: 16 kB / 367.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008362/0.1984, allocations: 0.5498 MB / 368 MB, free: 11.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1984, allocations: 8 kB / 368.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001205/0.1996, allocations: 204 kB / 368.3 MB, free: 11.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/0.2, allocations: 123.1 kB / 368.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2015, allocations: 0.6901 MB / 369.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2015, allocations: 0 / 369.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.2022, allocations: 446.5 kB / 369.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.2034, allocations: 218.8 kB / 369.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.207, allocations: 2.136 MB / 371.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/0.2079, allocations: 1.005 MB / 372.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.2081, allocations: 59.44 kB / 372.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2081, allocations: 0 / 372.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Templates: time 0.2691/0.4772, allocations: 20.71 MB / 393.6 MB, free: 45.23 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o] Error 1