Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Initialize,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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008936, allocations: 90.86 kB / 16.95 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.0009362/0.0009363, allocations: 182.9 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.2 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 13.34 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01049/0.1595, allocations: 7.857 MB / 359.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.1664, allocations: 2.708 MB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.1687, allocations: 39.88 kB / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.1711, allocations: 0.4893 MB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.1747, allocations: 0.6138 MB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1758, allocations: 203.7 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00428/0.1801, allocations: 2.444 MB / 366.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.1822, allocations: 1.231 MB / 367.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.1849, allocations: 0.8131 MB / 368.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.1885, allocations: 1.113 MB / 369.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.1892, allocations: 120 kB / 369.5 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1904, allocations: 195.8 kB / 369.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.1913, allocations: 0.6114 MB / 370.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009842/0.1923, allocations: 448.6 kB / 370.7 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3479/0.5402, allocations: 2.949 MB / 373.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5402, allocations: 1.312 kB / 373.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5402, allocations: 0 / 373.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.5404, allocations: 0 / 373.7 MB, free: 12.66 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00778/0.5482, allocations: 2.222 MB / 375.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5482, allocations: 13.53 kB / 375.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5498, allocations: 255.6 kB / 376.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.5535, allocations: 1.302 MB / 377.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5537, allocations: 135 kB / 377.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.5542, allocations: 189.2 kB / 377.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006815/0.561, allocations: 2.4 MB / 380.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.781e-05/0.5611, allocations: 8.984 kB / 380.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.5614, allocations: 74.45 kB / 380.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.5616, allocations: 86.27 kB / 380.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.5664, allocations: 2.023 MB / 382.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.5836, allocations: 7.504 MB / 389.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.5861, allocations: 1.283 MB / 391.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.5877, allocations: 0.9138 MB / 392.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.5879, allocations: 125.2 kB / 392.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.588, allocations: 38.62 kB / 392.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.888e-06/0.588, allocations: 0 / 392.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01104/0.599, allocations: 4.924 MB / 397.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5991, allocations: 59.31 kB / 397.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.6017, allocations: 1.364 MB / 398.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.6018, allocations: 45.52 kB / 398.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.6024, allocations: 0.9002 MB / 399.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.6027, allocations: 348.6 kB / 399.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.6028, allocations: 27.78 kB / 399.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6029, allocations: 345.8 kB / 400.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.6039, allocations: 0.6385 MB / 400.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.605, allocations: 0.928 MB / 401.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.6061, allocations: 0.7707 MB / 402.6 MB, free: 256 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6061, allocations: 0 / 402.6 MB, free: 256 kB / 302.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004242/0.6104, allocations: 2.388 MB / 405 MB, free: 13.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.6104, allocations: 10.91 kB / 405 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.6104, allocations: 12 kB / 405 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.6122, allocations: 0.7157 MB / 405.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.6131, allocations: 239.2 kB / 405.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.624, allocations: 8.012 MB / 413.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.6258, allocations: 83.58 kB / 414 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.626, allocations: 47.98 kB / 414.1 MB, free: 4.578 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.6277, allocations: 0.6329 MB / 414.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.6281, allocations: 146.2 kB / 414.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.6316, allocations: 1.901 MB / 416.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6317, allocations: 12 kB / 416.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6317, allocations: 0 / 416.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6317, allocations: 3.984 kB / 416.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/0.6393, allocations: 4.025 MB / 420.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.6394, allocations: 8.062 kB / 420.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.6402, allocations: 182.9 kB / 421 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.6414, allocations: 470.7 kB / 421.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.6415, allocations: 23.98 kB / 421.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006476/0.648, allocations: 6.148 MB / 427.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.648, allocations: 0 / 427.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.653, allocations: 2.791 MB / 430.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.6542, allocations: 367.2 kB / 430.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.6544, allocations: 23.98 kB / 430.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.6551, allocations: 71.92 kB / 430.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.6554, allocations: 92.58 kB / 430.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.6555, allocations: 31.98 kB / 431 MB, free: 3.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.6572, allocations: 0.9387 MB / 431.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6572, allocations: 0 / 431.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001893/0.6591, allocations: 439.9 kB / 432.3 MB, free: 1.836 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * 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.000354/0.6595, allocations: 144.7 kB / 432.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.6631, allocations: 2.009 MB / 434.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6632, allocations: 0 / 434.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.6653, allocations: 1.355 MB / 435.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.6676, allocations: 366.1 kB / 436.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009159/0.6768, allocations: 4.801 MB / 441 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.6785, allocations: 1.669 MB / 442.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/0.6793, allocations: 101.6 kB / 442.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6793, allocations: 0 / 442.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Templates: time 0.07777/0.7571, allocations: 52.26 MB / 495 MB, free: 3.086 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InitializeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1