Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001338, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009847/0.1478, allocations: 7.836 MB / 366.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.1545, allocations: 2.724 MB / 369.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1562, allocations: 39.81 kB / 369.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.158, allocations: 497.1 kB / 369.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.1606, allocations: 0.6021 MB / 370.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.1614, allocations: 211.7 kB / 370.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3214/0.4828, allocations: 2.295 MB / 373 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.4868, allocations: 1.222 MB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.49, allocations: 0.778 MB / 375 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.4939, allocations: 1.066 MB / 376.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.4945, allocations: 115.6 kB / 376.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.4957, allocations: 186.8 kB / 376.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.497, allocations: 0.5831 MB / 376.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.498, allocations: 438.4 kB / 377.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.5045, allocations: 2.833 MB / 380.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.5045, allocations: 3.641 kB / 380.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5045, allocations: 0 / 380.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.5047, allocations: 0 / 380.2 MB, free: 9.469 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.008648/0.5133, allocations: 2.148 MB / 382.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.844e-05/0.5134, allocations: 11.62 kB / 382.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.5152, allocations: 256.5 kB / 382.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.5191, allocations: 1.24 MB / 383.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.5194, allocations: 133.2 kB / 384 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005434/0.5199, allocations: 183.9 kB / 384.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006729/0.5267, allocations: 2.366 MB / 386.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.905e-05/0.5268, allocations: 10.09 kB / 386.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.527, allocations: 73.11 kB / 386.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.5272, allocations: 90.5 kB / 386.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.5319, allocations: 1.967 MB / 388.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.5442, allocations: 7.182 MB / 395.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.5459, allocations: 1.274 MB / 397.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.5474, allocations: 0.8851 MB / 398 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.5476, allocations: 120.5 kB / 398.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.5477, allocations: 51.31 kB / 398.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.587e-06/0.5477, allocations: 6.828 kB / 398.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01349/0.5612, allocations: 6.191 MB / 404.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.5613, allocations: 64.41 kB / 404.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.5634, allocations: 1.207 MB / 405.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.5635, allocations: 45.7 kB / 405.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/0.5643, allocations: 0.8648 MB / 406.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.5646, allocations: 375.3 kB / 406.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.5647, allocations: 23.38 kB / 406.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5649, allocations: 349.9 kB / 407.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.5659, allocations: 0.6297 MB / 407.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.5671, allocations: 0.9258 MB / 408.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5682, allocations: 0.7591 MB / 409.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5683, allocations: 4 kB / 409.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003638/0.5719, allocations: 2.237 MB / 411.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.5719, allocations: 8.75 kB / 411.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.572, allocations: 12.2 kB / 411.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.573, allocations: 473.4 kB / 412.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.574, allocations: 278.3 kB / 412.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.5806, allocations: 6.418 MB / 419 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5821, allocations: 95.89 kB / 419.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.5822, allocations: 47.98 kB / 419.1 MB, free: 13.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.5839, allocations: 0.5988 MB / 419.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.5842, allocations: 138.2 kB / 419.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.5878, allocations: 2.039 MB / 421.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5878, allocations: 12 kB / 421.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.5878, allocations: 11.94 kB / 421.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.5878, allocations: 3.984 kB / 421.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/0.5951, allocations: 4.237 MB / 426.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.5951, allocations: 8.094 kB / 426.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.5958, allocations: 179.7 kB / 426.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.5971, allocations: 0.5155 MB / 426.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.5972, allocations: 35.98 kB / 426.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007697/0.6049, allocations: 7.915 MB / 434.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.6049, allocations: 11.11 kB / 434.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/0.6099, allocations: 2.958 MB / 437.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.6111, allocations: 347.3 kB / 438.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.6113, allocations: 35.94 kB / 438.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.6121, allocations: 75.92 kB / 438.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.6124, allocations: 88.81 kB / 438.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.6124, allocations: 35.98 kB / 438.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001666/0.6141, allocations: 0.8344 MB / 439.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6141, allocations: 0 / 439.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002031/0.6162, allocations: 412.1 kB / 439.6 MB, free: 8.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(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.0003622/0.6165, allocations: 151.6 kB / 439.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.6203, allocations: 2.169 MB / 441.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.6204, allocations: 4 kB / 441.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.6228, allocations: 1.477 MB / 443.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.625, allocations: 373 kB / 443.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/0.6347, allocations: 4.719 MB / 448.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.6368, allocations: 1.618 MB / 450.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.6377, allocations: 107.4 kB / 450.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.6377, allocations: 0 / 450.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.09335/0.731, allocations: 67.8 MB / 0.5059 GB, free: 9.555 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterCalcHelperMain.o] Error 1