Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.000912, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.0009556/0.0009556, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.848/1.848, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0005437/0.0005438, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008828/0.1456, allocations: 7.202 MB / 336.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006076/0.1518, allocations: 2.547 MB / 338.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1535, allocations: 27.94 kB / 338.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1553, allocations: 477.3 kB / 339.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.1572, allocations: 389.1 kB / 339.6 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.1579, allocations: 167.8 kB / 339.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1601, allocations: 1.357 MB / 341.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007467/0.1608, allocations: 423.3 kB / 341.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.1618, allocations: 473.9 kB / 342 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.1624, allocations: 0.5015 MB / 342.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1626, allocations: 68 kB / 342.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.1629, allocations: 104 kB / 342.7 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1631, allocations: 195.1 kB / 342.9 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.1634, allocations: 261.1 kB / 343.1 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1649, allocations: 1.371 MB / 344.5 MB, free: 4.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.1649, allocations: 4 kB / 344.5 MB, free: 4.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1649, allocations: 0 / 344.5 MB, free: 4.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.165, allocations: 4 kB / 344.5 MB, free: 4.473 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002854/0.1678, allocations: 1.293 MB / 345.8 MB, free: 3.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.1679, allocations: 12.03 kB / 345.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.1686, allocations: 190.3 kB / 346 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1698, allocations: 0.7154 MB / 346.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.1699, allocations: 78 kB / 346.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1701, allocations: 99.91 kB / 346.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1718, allocations: 0.9502 MB / 347.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.1719, allocations: 0 / 347.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.172, allocations: 44 kB / 347.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.172, allocations: 27.94 kB / 347.9 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1733, allocations: 0.6598 MB / 348.6 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.1796, allocations: 3.973 MB / 352.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.1804, allocations: 448.4 kB / 353 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.181, allocations: 280.7 kB / 353.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.181, allocations: 4 kB / 353.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1811, allocations: 34.56 kB / 353.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.146e-06/0.1811, allocations: 4 kB / 353.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003359/0.1845, allocations: 1.572 MB / 354.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1846, allocations: 93.06 kB / 355 MB, free: 9.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.1858, allocations: 0.8216 MB / 355.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1859, allocations: 37.7 kB / 355.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.1864, allocations: 0.5681 MB / 356.4 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1865, allocations: 161.7 kB / 356.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1865, allocations: 16 kB / 356.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1867, allocations: 330 kB / 356.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.1871, allocations: 181.9 kB / 357.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.1877, allocations: 475.6 kB / 357.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.1882, allocations: 259.8 kB / 357.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.1883, allocations: 4 kB / 357.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001516/0.1898, allocations: 0.7906 MB / 358.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1898, allocations: 12.23 kB / 358.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.1898, allocations: 16 kB / 358.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.1901, allocations: 77.69 kB / 358.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.1907, allocations: 159.7 kB / 358.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.1931, allocations: 2.872 MB / 361.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.1939, allocations: 47.95 kB / 361.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.1939, allocations: 35.98 kB / 361.8 MB, free: 2.238 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 (85): * Single equations (assignments): 83 * 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.0005911/0.1945, allocations: 261.5 kB / 362 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1946, allocations: 82.97 kB / 362.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1957, allocations: 0.5225 MB / 362.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1957, allocations: 4.094 kB / 362.6 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1957, allocations: 7.984 kB / 362.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.1957, allocations: 7.938 kB / 362.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.1984, allocations: 1.48 MB / 364.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.1984, allocations: 0 / 364.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.1987, allocations: 79.89 kB / 364.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.199, allocations: 77.84 kB / 364.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.199, allocations: 12.12 kB / 364.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.2016, allocations: 2.852 MB / 367.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.2016, allocations: 7.969 kB / 367.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.203, allocations: 0.8201 MB / 368 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.2034, allocations: 192 kB / 368.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.2035, allocations: 16 kB / 368.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.2039, allocations: 31.97 kB / 368.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.204, allocations: 43.89 kB / 368.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.2041, allocations: 8 kB / 368.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008843/0.2049, allocations: 0.5693 MB / 368.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.205, allocations: 4 kB / 368.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001045/0.206, allocations: 212 kB / 369.1 MB, free: 10.52 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 (39): * Single equations (assignments): 37 * 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.000341/0.2064, allocations: 123.1 kB / 369.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.2078, allocations: 0.7174 MB / 369.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2079, allocations: 0.5625 kB / 369.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007443/0.2086, allocations: 457.1 kB / 370.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.21, allocations: 215.8 kB / 370.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.2138, allocations: 2.179 MB / 372.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.2145, allocations: 1.009 MB / 373.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2147, allocations: 67.42 kB / 373.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of SimCode: time 1.363e-06/0.2147, allocations: 0 / 373.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Templates: time 0.2593/0.474, allocations: 21.15 MB / 394.9 MB, free: 44.58 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_SinglePhaseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o] Error 1