Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008153/0.0008153, allocations: 91.73 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009175/0.0009173, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.686/1.686, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003384, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01243/0.1532, allocations: 8.589 MB / 367.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1633, allocations: 3.527 MB / 370.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.1664, allocations: 43.81 kB / 370.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.1696, allocations: 0.532 MB / 371.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.1741, allocations: 0.7422 MB / 372.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.1763, allocations: 326.9 kB / 372.5 MB, free: 356 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3608/0.5371, allocations: 2.713 MB / 375.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/0.5419, allocations: 1.325 MB / 376.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.5469, allocations: 0.9255 MB / 377.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.553, allocations: 1.327 MB / 378.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.5551, allocations: 135.1 kB / 379 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.5586, allocations: 361.6 kB / 379.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003072/0.5617, allocations: 0.7879 MB / 380.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003252/0.565, allocations: 0.5087 MB / 380.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009495/0.5745, allocations: 3.409 MB / 384 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5746, allocations: 0 / 384 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5746, allocations: 0 / 384 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00031/0.5749, allocations: 2.641 kB / 384 MB, free: 9.008 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0142/0.5891, allocations: 2.735 MB / 386.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.805e-05/0.5892, allocations: 9.875 kB / 386.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.593, allocations: 362.7 kB / 387.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007735/0.6008, allocations: 1.602 MB / 388.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.6012, allocations: 153.3 kB / 388.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.6029, allocations: 198.4 kB / 389.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009255/0.6122, allocations: 2.693 MB / 391.8 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-05/0.6123, allocations: 10.89 kB / 391.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.6126, allocations: 82.94 kB / 391.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.6129, allocations: 92.59 kB / 391.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006526/0.6194, allocations: 2.296 MB / 394.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.643, allocations: 8.28 MB / 402.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.6474, allocations: 1.64 MB / 404.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.6501, allocations: 1.094 MB / 405.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.6506, allocations: 136 kB / 405.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.6507, allocations: 43.56 kB / 405.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 6.543e-06/0.6507, allocations: 0 / 405.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.0187/0.6694, allocations: 6.498 MB / 411.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.6696, allocations: 68.7 kB / 412 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/0.6737, allocations: 2.153 MB / 414.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.6739, allocations: 45.7 kB / 414.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.6749, allocations: 1.111 MB / 415.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.6754, allocations: 455.6 kB / 415.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.062e-05/0.6755, allocations: 33.17 kB / 415.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6757, allocations: 357.9 kB / 416.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.6772, allocations: 0.773 MB / 416.9 MB, free: 220 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.6788, allocations: 1.022 MB / 417.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.6804, allocations: 0.8965 MB / 418.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6804, allocations: 4 kB / 418.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005951/0.6863, allocations: 2.773 MB / 421.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.6864, allocations: 11.95 kB / 421.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.6864, allocations: 4 kB / 421.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.6886, allocations: 0.7903 MB / 422.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.6897, allocations: 271.6 kB / 422.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.7024, allocations: 8.738 MB / 431.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.7045, allocations: 111.3 kB / 431.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.7047, allocations: 55.98 kB / 431.6 MB, free: 1.176 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002196/0.7069, allocations: 0.7395 MB / 432.3 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/0.7076, allocations: 205.5 kB / 432.5 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/0.7126, allocations: 2.504 MB / 435 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/0.7127, allocations: 16 kB / 435 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.7127, allocations: 7.953 kB / 435 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.7127, allocations: 11.98 kB / 435 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.724, allocations: 4.964 MB / 440 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.7241, allocations: 4 kB / 440 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7251, allocations: 223.9 kB / 440.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.7272, allocations: 0.6401 MB / 440.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.7273, allocations: 47.92 kB / 440.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.7381, allocations: 7.917 MB / 448.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-05/0.7382, allocations: 0 / 448.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009109/0.7474, allocations: 3.561 MB / 452.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/0.7496, allocations: 450.4 kB / 452.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/0.7508, allocations: 28.78 kB / 452.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.7529, allocations: 95.89 kB / 453 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004959/0.7534, allocations: 98.44 kB / 453.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.7536, allocations: 42.83 kB / 453.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004971/0.7586, allocations: 1.512 MB / 454.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7586, allocations: 4 kB / 454.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003965/0.7626, allocations: 0.5285 MB / 455.1 MB, free: 9.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.7641, allocations: 428.8 kB / 455.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005316/0.7695, allocations: 2.403 MB / 458 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7695, allocations: 1.25 kB / 458 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.7724, allocations: 1.604 MB / 459.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.7759, allocations: 441.3 kB / 460 MB, free: 4.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.7881, allocations: 6.087 MB / 466.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.7902, allocations: 1.939 MB / 468 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.7912, allocations: 135.4 kB / 468.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.514e-06/0.7912, allocations: 4 kB / 468.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.1156/0.9068, allocations: 63.61 MB / 0.5193 GB, free: 12.4 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1