Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001009, allocations: 96.94 kB / 16.96 MB, free: 6.41 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.001247/0.001247, allocations: 179.6 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.2 MB / 241.8 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 13.23 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009104/0.1475, allocations: 7.017 MB / 358.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.1531, allocations: 2.425 MB / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.1546, allocations: 23.94 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.1568, allocations: 457.4 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.1588, allocations: 377.2 kB / 362.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008139/0.1597, allocations: 151.8 kB / 362.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.1621, allocations: 1.299 MB / 363.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.163, allocations: 423.2 kB / 364 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.1639, allocations: 442 kB / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.1645, allocations: 489.6 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1646, allocations: 64 kB / 365 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.1649, allocations: 99.97 kB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.1651, allocations: 187.1 kB / 365.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1654, allocations: 261.1 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.1667, allocations: 1.328 MB / 366.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1667, allocations: 4 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1667, allocations: 0 / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1667, allocations: 0 / 366.9 MB, free: 4.941 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002168/0.1689, allocations: 1.258 MB / 368.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.169, allocations: 8.031 kB / 368.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005617/0.1695, allocations: 166.5 kB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.1706, allocations: 0.6874 MB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.1707, allocations: 70 kB / 369 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.1708, allocations: 96 kB / 369.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.1724, allocations: 0.919 MB / 370.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.1724, allocations: 15.89 kB / 370.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.1725, allocations: 47.89 kB / 370.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.1725, allocations: 24 kB / 370.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1737, allocations: 0.6325 MB / 370.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2853/0.4591, allocations: 3.923 MB / 374.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.4598, allocations: 359.6 kB / 375 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.4602, allocations: 156.6 kB / 375.2 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.4602, allocations: 4.141 kB / 375.2 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4602, allocations: 40.78 kB / 375.2 MB, free: 22.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/0.4602, allocations: 0 / 375.2 MB, free: 22.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002486/0.4627, allocations: 1.216 MB / 376.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4628, allocations: 81.7 kB / 376.5 MB, free: 21.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.464, allocations: 0.8207 MB / 377.4 MB, free: 21.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.464, allocations: 31.08 kB / 377.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.4644, allocations: 0.5691 MB / 378 MB, free: 20.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.4645, allocations: 135 kB / 378.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.4646, allocations: 10.75 kB / 378.1 MB, free: 20.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.4647, allocations: 336 kB / 378.4 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.465, allocations: 152.9 kB / 378.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.4654, allocations: 465.9 kB / 379 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4658, allocations: 230.5 kB / 379.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4658, allocations: 4.531 kB / 379.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001217/0.4671, allocations: 0.6965 MB / 380 MB, free: 19.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4671, allocations: 9.531 kB / 380 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4671, allocations: 14.47 kB / 380 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.4673, allocations: 39.41 kB / 380 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.4678, allocations: 164.3 kB / 380.2 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000794/0.4686, allocations: 1.285 MB / 381.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.4692, allocations: 40.33 kB / 381.5 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.4692, allocations: 39.42 kB / 381.5 MB, free: 18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 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: 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.0003953/0.4696, allocations: 259.8 kB / 381.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4697, allocations: 83.38 kB / 381.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007723/0.4705, allocations: 384.6 kB / 382.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4705, allocations: 4.812 kB / 382.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4705, allocations: 6.188 kB / 382.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4706, allocations: 1.172 kB / 382.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.4727, allocations: 1.281 MB / 383.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4727, allocations: 1.281 kB / 383.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.4731, allocations: 77.91 kB / 383.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/0.4732, allocations: 22.16 kB / 383.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4732, allocations: 12.53 kB / 383.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006958/0.4739, allocations: 1.272 MB / 384.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4739, allocations: 2.062 kB / 384.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.475, allocations: 0.6656 MB / 385.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4752, allocations: 187.9 kB / 385.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.4753, allocations: 16.03 kB / 385.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.4757, allocations: 26.61 kB / 385.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.4758, allocations: 33.69 kB / 385.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4758, allocations: 12.92 kB / 385.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009074/0.4767, allocations: 0.5529 MB / 386.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4767, allocations: 0 / 386.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009065/0.4776, allocations: 192.7 kB / 386.6 MB, free: 14.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0002272/0.4779, allocations: 124.5 kB / 386.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.4789, allocations: 0.5051 MB / 387.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4789, allocations: 0 / 387.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.4794, allocations: 275.5 kB / 387.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4805, allocations: 205.2 kB / 387.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.4847, allocations: 2.13 MB / 389.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/0.4857, allocations: 0.9914 MB / 390.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.4859, allocations: 57.83 kB / 390.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4859, allocations: 3.062 kB / 390.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Templates: time 0.03031/0.5163, allocations: 15.59 MB / 406.5 MB, free: 1.168 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o] Error 1