Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 87.98 kB / 17.63 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 196.6 kB / 18.54 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.745/1.745, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.000234, allocations: 4 kB / 307.3 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1359, allocations: 51.49 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01355/0.1496, allocations: 10.77 MB / 369.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3066/0.4563, allocations: 3.115 MB / 372.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.4591, allocations: 36.41 kB / 372.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.462, allocations: 0.5235 MB / 373.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.4663, allocations: 0.5939 MB / 373.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.468, allocations: 253.5 kB / 374.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.4734, allocations: 2.166 MB / 376.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.4753, allocations: 0.6809 MB / 376.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.4778, allocations: 0.7212 MB / 377.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.4794, allocations: 0.8135 MB / 378.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.4796, allocations: 106.6 kB / 378.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.4801, allocations: 146 kB / 378.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.4805, allocations: 308.2 kB / 379 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.4812, allocations: 406.9 kB / 379.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.4856, allocations: 2.228 MB / 381.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.4856, allocations: 0.875 kB / 381.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.4856, allocations: 0 / 381.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.4858, allocations: 0 / 381.6 MB, free: 9.02 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.005524/0.4913, allocations: 1.862 MB / 383.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.4914, allocations: 15.16 kB / 383.5 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.4925, allocations: 285.8 kB / 383.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.4949, allocations: 1.071 MB / 384.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.495, allocations: 114.1 kB / 385 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.4954, allocations: 157.4 kB / 385.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.499, allocations: 1.502 MB / 386.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.499, allocations: 11.83 kB / 386.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.4992, allocations: 67.91 kB / 386.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.4993, allocations: 38.5 kB / 386.7 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.5018, allocations: 1.062 MB / 387.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.5118, allocations: 6.309 MB / 394.1 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.5136, allocations: 0.6245 MB / 394.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5147, allocations: 471 kB / 395.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.5148, allocations: 7.953 kB / 395.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.5148, allocations: 38.84 kB / 395.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 4.668e-06/0.5148, allocations: 0 / 395.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006809/0.5216, allocations: 2.471 MB / 397.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.5218, allocations: 110.3 kB / 397.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.5247, allocations: 1.288 MB / 399.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.5248, allocations: 40.39 kB / 399.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008283/0.5257, allocations: 0.8435 MB / 400 MB, free: 15.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.526, allocations: 267.2 kB / 400.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.526, allocations: 27.03 kB / 400.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5262, allocations: 345.3 kB / 400.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.5269, allocations: 288.9 kB / 400.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5281, allocations: 0.7469 MB / 401.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/0.5288, allocations: 409.9 kB / 402.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.5289, allocations: 6.953 kB / 402.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003172/0.532, allocations: 1.288 MB / 403.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.5321, allocations: 17.84 kB / 403.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.5322, allocations: 12.31 kB / 403.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/0.5329, allocations: 155.2 kB / 403.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5339, allocations: 253.2 kB / 403.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/0.5389, allocations: 4.32 MB / 408.1 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5406, allocations: 63.89 kB / 408.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.5407, allocations: 55.98 kB / 408.2 MB, free: 8.016 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (137): * Single equations (assignments): 134 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.5419, allocations: 357.9 kB / 408.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.5422, allocations: 138.3 kB / 408.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5444, allocations: 0.8608 MB / 409.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5444, allocations: 10.31 kB / 409.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5444, allocations: 7.953 kB / 409.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5445, allocations: 7.984 kB / 409.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.5493, allocations: 2.368 MB / 412 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.5493, allocations: 4 kB / 412 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.5499, allocations: 131.8 kB / 412.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.5505, allocations: 152.2 kB / 412.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.5505, allocations: 16 kB / 412.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/0.5552, allocations: 4.446 MB / 416.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5552, allocations: 12.05 kB / 416.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.558, allocations: 1.344 MB / 418.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/0.5588, allocations: 279.4 kB / 418.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.5589, allocations: 20 kB / 418.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/0.5596, allocations: 43.97 kB / 418.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.5597, allocations: 64.38 kB / 418.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.5598, allocations: 31.98 kB / 418.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.5613, allocations: 0.8625 MB / 419.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.414e-06/0.5613, allocations: 2.297 kB / 419.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00169/0.563, allocations: 335.9 kB / 419.7 MB, free: 11.92 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.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 (63): * Single equations (assignments): 60 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003958/0.5634, allocations: 133.2 kB / 419.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.5658, allocations: 1.132 MB / 420.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5658, allocations: 0.9375 kB / 420.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.5669, allocations: 0.7186 MB / 421.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.5691, allocations: 346.7 kB / 422 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.5761, allocations: 3.619 MB / 425.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.5771, allocations: 1.217 MB / 426.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.5776, allocations: 99.42 kB / 426.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5776, allocations: 0 / 426.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Templates: time 0.05638/0.634, allocations: 40.67 MB / 467.6 MB, free: 11.85 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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_withLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLossesCalcHelperMain.o] Error 1