Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007392/0.0007436, allocations: 83.77 kB / 17.58 MB, free: 5.758 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.0007685/0.0007686, allocations: 182.6 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 224.6 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 19.94 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009162/0.1374, allocations: 7.765 MB / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.1439, allocations: 2.709 MB / 339.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.1454, allocations: 35.81 kB / 339.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.147, allocations: 497.1 kB / 340 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.1493, allocations: 0.5943 MB / 340.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.1501, allocations: 211.6 kB / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.1532, allocations: 2.311 MB / 343.1 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.1549, allocations: 1.196 MB / 344.3 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.1566, allocations: 0.7704 MB / 345.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.1581, allocations: 1.062 MB / 346.1 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.1583, allocations: 120 kB / 346.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.1588, allocations: 187.8 kB / 346.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006144/0.1595, allocations: 0.5763 MB / 347 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.1601, allocations: 440.6 kB / 347.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.1629, allocations: 2.836 MB / 350.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1629, allocations: 0 / 350.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1629, allocations: 0 / 350.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.293e-05/0.163, allocations: 0 / 350.3 MB, free: 14.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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004543/0.1676, allocations: 2.142 MB / 352.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1676, allocations: 8.031 kB / 352.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.1683, allocations: 245.3 kB / 352.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1704, allocations: 1.184 MB / 353.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1706, allocations: 135.5 kB / 354 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.1708, allocations: 180 kB / 354.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.1752, allocations: 2.367 MB / 356.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.1753, allocations: 7.844 kB / 356.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.1755, allocations: 75.98 kB / 356.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.1756, allocations: 99.45 kB / 356.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.1791, allocations: 1.966 MB / 358.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.1909, allocations: 7.168 MB / 365.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.1928, allocations: 1.284 MB / 367.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.1943, allocations: 0.8854 MB / 368 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.1945, allocations: 114.1 kB / 368.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1946, allocations: 47.5 kB / 368.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.1946, allocations: 0 / 368.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01281/0.2074, allocations: 5.987 MB / 374.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2075, allocations: 68.34 kB / 374.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.2095, allocations: 1.203 MB / 375.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.2096, allocations: 41.7 kB / 375.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/0.2104, allocations: 0.869 MB / 376.3 MB, free: 4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.2107, allocations: 362.7 kB / 376.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.2108, allocations: 28 kB / 376.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.211, allocations: 357.9 kB / 377.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.2119, allocations: 0.6155 MB / 377.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.2133, allocations: 0.9275 MB / 378.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2146, allocations: 0.7564 MB / 379.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.2146, allocations: 4 kB / 379.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.2812/0.4958, allocations: 2.222 MB / 381.6 MB, free: 50.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.4959, allocations: 13.42 kB / 381.6 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4959, allocations: 13.47 kB / 381.6 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.4974, allocations: 472.4 kB / 382.1 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4985, allocations: 272.3 kB / 382.3 MB, free: 50.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.5053, allocations: 6.431 MB / 388.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5068, allocations: 82.62 kB / 388.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.5069, allocations: 51.72 kB / 388.9 MB, free: 45.58 MB / 318.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: 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.001432/0.5083, allocations: 0.5991 MB / 389.5 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.5087, allocations: 132.4 kB / 389.6 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.5128, allocations: 2.032 MB / 391.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5128, allocations: 10.92 kB / 391.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5128, allocations: 8.469 kB / 391.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5129, allocations: 4.828 kB / 391.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/0.5208, allocations: 4.24 MB / 395.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.5209, allocations: 3.938 kB / 395.9 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.5216, allocations: 177 kB / 396.1 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.5228, allocations: 0.5291 MB / 396.6 MB, free: 42.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.5229, allocations: 32.83 kB / 396.7 MB, free: 42.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/0.5295, allocations: 7.913 MB / 404.6 MB, free: 35.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5296, allocations: 7.891 kB / 404.6 MB, free: 35.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.5337, allocations: 2.961 MB / 407.5 MB, free: 34.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/0.5345, allocations: 346.3 kB / 407.9 MB, free: 33.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5347, allocations: 33.67 kB / 407.9 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.5353, allocations: 80.61 kB / 408 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.5356, allocations: 89.7 kB / 408.1 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.5356, allocations: 41.95 kB / 408.1 MB, free: 33.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.5369, allocations: 0.8253 MB / 408.9 MB, free: 33.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5369, allocations: 0 / 408.9 MB, free: 33.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00164/0.5385, allocations: 415.5 kB / 409.3 MB, free: 33.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (89): * Single equations (assignments): 84 * 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.0002988/0.5388, allocations: 148.8 kB / 409.5 MB, free: 32.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.5418, allocations: 2.16 MB / 411.7 MB, free: 30.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5418, allocations: 0 / 411.7 MB, free: 30.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5436, allocations: 1.495 MB / 413.1 MB, free: 29.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.5456, allocations: 374.9 kB / 413.5 MB, free: 28.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.5519, allocations: 4.719 MB / 418.2 MB, free: 23.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.5529, allocations: 1.626 MB / 419.9 MB, free: 22.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.5533, allocations: 99.42 kB / 420 MB, free: 22.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.994e-06/0.5533, allocations: 4 kB / 420 MB, free: 22.2 MB / 318.1 MB Notification: Performance of Templates: time 0.07575/0.6291, allocations: 67.64 MB / 487.6 MB, free: 2.414 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterCalcHelperMain.o] Error 1