Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009396, allocations: 99.02 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.001042/0.001042, allocations: 199 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.559/1.559, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002476, allocations: 8 kB / 307.3 MB, free: 1.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 51.5 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00991/0.1305, allocations: 8.331 MB / 367.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006369/0.1369, allocations: 2.849 MB / 370 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1382, allocations: 39.81 kB / 370 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.1397, allocations: 0.5126 MB / 370.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1418, allocations: 0.6682 MB / 371.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.1425, allocations: 223.7 kB / 371.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.307/0.4495, allocations: 2.751 MB / 374.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.4535, allocations: 1.383 MB / 375.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.4573, allocations: 0.9114 MB / 376.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00476/0.4621, allocations: 1.243 MB / 377.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008487/0.463, allocations: 133.1 kB / 377.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.4647, allocations: 202 kB / 378 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.4663, allocations: 0.6792 MB / 378.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.4679, allocations: 0.4944 MB / 379.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.4765, allocations: 3.275 MB / 382.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.4766, allocations: 2.312 kB / 382.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.4766, allocations: 0 / 382.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.4769, allocations: 0 / 382.5 MB, free: 9.234 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.009305/0.4862, allocations: 2.464 MB / 385 MB, free: 8.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.4862, allocations: 9.062 kB / 385 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4883, allocations: 326.6 kB / 385.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.4921, allocations: 1.445 MB / 386.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4923, allocations: 150.1 kB / 386.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/0.4928, allocations: 201.4 kB / 387.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/0.4996, allocations: 2.725 MB / 389.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.4997, allocations: 14.42 kB / 389.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.5, allocations: 81.48 kB / 389.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.5003, allocations: 92.44 kB / 390 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/0.506, allocations: 2.332 MB / 392.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.5246, allocations: 8.462 MB / 400.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.5277, allocations: 1.779 MB / 402.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.5302, allocations: 1.075 MB / 403.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.5306, allocations: 123.8 kB / 403.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.5307, allocations: 43.56 kB / 403.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.589e-06/0.5307, allocations: 0 / 403.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01994/0.5507, allocations: 6.277 MB / 410.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.5508, allocations: 64.41 kB / 410.1 MB, free: 6.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.5548, allocations: 1.501 MB / 411.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.5551, allocations: 45.7 kB / 411.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.5565, allocations: 0.9891 MB / 412.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/0.5572, allocations: 423.2 kB / 413.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5573, allocations: 28 kB / 413.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.5576, allocations: 357.9 kB / 413.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.5595, allocations: 0.73 MB / 414.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.5616, allocations: 1.069 MB / 415.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.5637, allocations: 0.8821 MB / 416.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5637, allocations: 3.953 kB / 416.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005383/0.5691, allocations: 2.361 MB / 418.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.5691, allocations: 8 kB / 418.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.5692, allocations: 15.94 kB / 418.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.5702, allocations: 407.2 kB / 418.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5714, allocations: 335.5 kB / 419.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/0.5773, allocations: 4.651 MB / 423.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.5794, allocations: 95.81 kB / 424 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.5796, allocations: 48 kB / 424 MB, free: 8.465 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002376/0.5819, allocations: 0.7109 MB / 424.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.5825, allocations: 158 kB / 424.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.587, allocations: 2.153 MB / 427.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.587, allocations: 16 kB / 427.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.587, allocations: 11.92 kB / 427.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.587, allocations: 3.984 kB / 427.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009633/0.5967, allocations: 4.588 MB / 431.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5967, allocations: 4 kB / 431.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5978, allocations: 223.7 kB / 431.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.599, allocations: 472.4 kB / 432.4 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.5992, allocations: 32.03 kB / 432.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.6066, allocations: 6.139 MB / 438.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.6067, allocations: 4.031 kB / 438.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.6132, allocations: 3.213 MB / 441.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.6148, allocations: 399 kB / 442.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.6151, allocations: 28 kB / 442.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.6159, allocations: 79.91 kB / 442.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/0.6163, allocations: 112.7 kB / 442.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.6164, allocations: 35.98 kB / 442.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.6185, allocations: 1.036 MB / 443.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6185, allocations: 0 / 443.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002118/0.6206, allocations: 460 kB / 443.9 MB, free: 4.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/0.6211, allocations: 158 kB / 444 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004125/0.6252, allocations: 2.279 MB / 446.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.6252, allocations: 2.297 kB / 446.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.6278, allocations: 1.498 MB / 447.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.6307, allocations: 427.8 kB / 448.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009751/0.6404, allocations: 5.361 MB / 453.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/0.6424, allocations: 1.807 MB / 455.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.6432, allocations: 119.4 kB / 455.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of SimCode: time 1.864e-06/0.6432, allocations: 0 / 455.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of Templates: time 0.09564/0.7389, allocations: 69.66 MB / 0.5129 GB, free: 2.574 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1