Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001657/0.001657, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001931/0.001932, allocations: 194 kB / 18.72 MB, free: 4.762 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.146/2.146, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001517/0.001517, allocations: 59.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1599, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01162/0.1716, allocations: 7.9 MB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.1786, allocations: 2.611 MB / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.181, allocations: 23.94 kB / 337.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.1837, allocations: 498.1 kB / 338.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1864, allocations: 393.2 kB / 338.7 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.1872, allocations: 207.8 kB / 338.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1898, allocations: 1.358 MB / 340.2 MB, free: 7.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.1907, allocations: 0.5161 MB / 340.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1918, allocations: 497.7 kB / 341.2 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.1925, allocations: 0.5443 MB / 341.8 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1926, allocations: 84 kB / 341.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.193, allocations: 120 kB / 342 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1933, allocations: 223 kB / 342.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007496/0.194, allocations: 0.6024 MB / 342.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.1959, allocations: 1.36 MB / 344.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.1959, allocations: 0 / 344.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1959, allocations: 0 / 344.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.1959, allocations: 8 kB / 344.2 MB, free: 3.883 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003059/0.199, allocations: 1.433 MB / 345.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.1991, allocations: 8.031 kB / 345.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.1997, allocations: 167.4 kB / 345.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.201, allocations: 0.7067 MB / 346.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.2011, allocations: 78 kB / 346.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.2013, allocations: 99.91 kB / 346.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.2031, allocations: 0.9229 MB / 347.6 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.2032, allocations: 4 kB / 347.6 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.2033, allocations: 47.94 kB / 347.6 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.2033, allocations: 24 kB / 347.6 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.2046, allocations: 0.6168 MB / 348.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.2107, allocations: 3.916 MB / 352.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.2114, allocations: 347.7 kB / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2117, allocations: 144.2 kB / 352.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.2117, allocations: 4 kB / 352.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.2118, allocations: 50.48 kB / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.945e-06/0.2118, allocations: 0 / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002869/0.2147, allocations: 1.187 MB / 353.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2148, allocations: 81.11 kB / 354 MB, free: 9.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.216, allocations: 0.8214 MB / 354.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.2161, allocations: 29.7 kB / 354.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.2166, allocations: 0.564 MB / 355.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2168, allocations: 138.2 kB / 355.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.217, allocations: 130.4 kB / 355.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.2173, allocations: 330 kB / 356 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.2176, allocations: 149.9 kB / 356.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.2183, allocations: 460 kB / 356.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2194, allocations: 0.6314 MB / 357.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2194, allocations: 4 kB / 357.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00146/0.2209, allocations: 0.6885 MB / 357.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.2209, allocations: 16.16 kB / 357.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.2209, allocations: 15.98 kB / 357.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.2212, allocations: 28.86 kB / 357.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.2217, allocations: 163.7 kB / 358.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.2231, allocations: 1.295 MB / 359.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.2239, allocations: 31.98 kB / 359.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.2239, allocations: 32 kB / 359.5 MB, free: 3.598 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 (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007196/0.2247, allocations: 277 kB / 359.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.2249, allocations: 82.97 kB / 359.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.2258, allocations: 374.1 kB / 360.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2259, allocations: 4 kB / 360.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2259, allocations: 4 kB / 360.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2259, allocations: 0 / 360.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.2286, allocations: 1.269 MB / 361.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2286, allocations: 0 / 361.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.229, allocations: 71.89 kB / 361.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.2291, allocations: 20.86 kB / 361.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2291, allocations: 11.94 kB / 361.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.2304, allocations: 1.284 MB / 362.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.2304, allocations: 7.969 kB / 362.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2317, allocations: 0.6315 MB / 363.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.2321, allocations: 184.2 kB / 363.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.2323, allocations: 12 kB / 363.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.2327, allocations: 23.97 kB / 363.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2329, allocations: 31.91 kB / 363.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2329, allocations: 12 kB / 363.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001074/0.234, allocations: 0.5615 MB / 364.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.234, allocations: 0 / 364.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001139/0.2351, allocations: 191.9 kB / 364.5 MB, free: 14.29 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003868/0.2355, allocations: 127.1 kB / 364.6 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.237, allocations: 0.515 MB / 365.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.237, allocations: 0 / 365.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.2376, allocations: 267.9 kB / 365.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.2391, allocations: 199.3 kB / 365.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.2442, allocations: 2.14 MB / 367.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.2453, allocations: 0.9923 MB / 368.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.2455, allocations: 59.38 kB / 368.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of SimCode: time 2.104e-06/0.2456, allocations: 0 / 368.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of Templates: time 0.3259/0.5715, allocations: 15.7 MB / 384.5 MB, free: 51.79 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCEE_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_StartCalcHelperMain.o] Error 1