Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 94.05 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 192.1 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.3 MB / 246.6 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.01088/0.1318, allocations: 10.41 MB / 369.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.1386, allocations: 3.072 MB / 372.3 MB, free: 380 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.1404, allocations: 35.94 kB / 372.3 MB, free: 344 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3024/0.4428, allocations: 0.5086 MB / 372.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.4469, allocations: 0.5531 MB / 373.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.4481, allocations: 252 kB / 373.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004505/0.4526, allocations: 2.011 MB / 375.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.4541, allocations: 0.6761 MB / 376.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.4562, allocations: 0.673 MB / 377 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.4573, allocations: 0.7437 MB / 377.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.4576, allocations: 101.9 kB / 377.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.458, allocations: 141.2 kB / 378 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.4584, allocations: 295.1 kB / 378.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.4589, allocations: 387.7 kB / 378.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.4627, allocations: 2.11 MB / 380.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.4628, allocations: 0 / 380.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.4628, allocations: 0 / 380.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.4629, allocations: 1.406 kB / 380.7 MB, free: 9.461 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004141/0.467, allocations: 1.777 MB / 382.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.4671, allocations: 10.56 kB / 382.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4682, allocations: 257.9 kB / 382.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.4702, allocations: 0.9838 MB / 383.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4704, allocations: 123.1 kB / 383.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.4706, allocations: 159.8 kB / 384 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.4738, allocations: 1.472 MB / 385.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.4738, allocations: 17.89 kB / 385.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.474, allocations: 65.62 kB / 385.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.474, allocations: 38.62 kB / 385.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.4762, allocations: 0.972 MB / 386.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008836/0.4851, allocations: 6.601 MB / 393.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.486, allocations: 414.7 kB / 393.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.4864, allocations: 226.3 kB / 393.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.4865, allocations: 5.547 kB / 393.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000566/0.4871, allocations: 280.3 kB / 394.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.4871, allocations: 0 / 394.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.003732/0.4908, allocations: 1.785 MB / 395.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/0.4909, allocations: 166.8 kB / 396.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.4929, allocations: 1.258 MB / 397.3 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.493, allocations: 37.95 kB / 397.4 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009188/0.4939, allocations: 0.8752 MB / 398.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.4942, allocations: 204 kB / 398.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.4943, allocations: 25.5 kB / 398.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4945, allocations: 347.6 kB / 398.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.4952, allocations: 232.9 kB / 399 MB, free: 15.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.4963, allocations: 0.8041 MB / 399.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.4971, allocations: 395.2 kB / 400.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4971, allocations: 5.75 kB / 400.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002591/0.4997, allocations: 1.171 MB / 401.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.4998, allocations: 44.08 kB / 401.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.4998, allocations: 19.28 kB / 401.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.5001, allocations: 76.72 kB / 401.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.5009, allocations: 265.7 kB / 401.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.503, allocations: 2.586 MB / 404.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5044, allocations: 71.16 kB / 404.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/0.5045, allocations: 59 kB / 404.5 MB, free: 10.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001186/0.5057, allocations: 359.5 kB / 404.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.506, allocations: 134.4 kB / 405 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5075, allocations: 0.5599 MB / 405.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.5075, allocations: 9.578 kB / 405.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5075, allocations: 0 / 405.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5075, allocations: 3.984 kB / 405.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.5109, allocations: 1.879 MB / 407.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5109, allocations: 3.406 kB / 407.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.5113, allocations: 113.5 kB / 407.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.5115, allocations: 48.53 kB / 407.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.5115, allocations: 20.08 kB / 407.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.5137, allocations: 2.539 MB / 410.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.5137, allocations: 10.88 kB / 410.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5153, allocations: 0.9378 MB / 411.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.5159, allocations: 253.9 kB / 411.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5161, allocations: 20 kB / 411.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.5166, allocations: 35.97 kB / 411.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5167, allocations: 55.83 kB / 411.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.5168, allocations: 20 kB / 411.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.5182, allocations: 0.8344 MB / 412.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5182, allocations: 0 / 412.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001462/0.5197, allocations: 308 kB / 412.6 MB, free: 3.297 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.52, allocations: 136.2 kB / 412.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.5218, allocations: 0.9335 MB / 413.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5218, allocations: 4.438 kB / 413.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.5225, allocations: 465.9 kB / 414.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5244, allocations: 318.7 kB / 414.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.5298, allocations: 3.131 MB / 417.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.5309, allocations: 1.178 MB / 418.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.5313, allocations: 91.44 kB / 418.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5313, allocations: 0 / 418.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.05318/0.5845, allocations: 31.3 MB / 450.1 MB, free: 13.64 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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_QuasiStaticCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStaticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStaticCalcHelperMain.o] Error 1