Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001287, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001318/0.001318, allocations: 190 kB / 18.72 MB, free: 4.781 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.875/1.875, allocations: 205.1 MB / 224.6 MB, free: 12.41 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.001356/0.001357, allocations: 51.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01426/0.1743, allocations: 9.358 MB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009277/0.1837, allocations: 3.352 MB / 340 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003357/0.1871, allocations: 43.75 kB / 340 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.1909, allocations: 0.6568 MB / 340.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.1958, allocations: 0.7267 MB / 341.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.198, allocations: 399.5 kB / 341.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.2037, allocations: 2.748 MB / 344.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.2062, allocations: 1.43 MB / 346 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.2088, allocations: 0.9572 MB / 346.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.2111, allocations: 1.347 MB / 348.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000373/0.2115, allocations: 172 kB / 348.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2126, allocations: 307.8 kB / 348.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008791/0.2135, allocations: 0.7009 MB / 349.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.2153, allocations: 1.17 MB / 350.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.2194, allocations: 3.063 MB / 353.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2194, allocations: 0 / 353.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2194, allocations: 0 / 353.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.2195, allocations: 0 / 353.7 MB, free: 10.32 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007644/0.2272, allocations: 2.671 MB / 356.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.2273, allocations: 16.03 kB / 356.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.2281, allocations: 266 kB / 356.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.2307, allocations: 1.287 MB / 357.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2308, allocations: 139.7 kB / 358 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.2312, allocations: 199.9 kB / 358.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.2363, allocations: 2.428 MB / 360.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.2364, allocations: 15.84 kB / 360.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.2366, allocations: 75.98 kB / 360.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.2367, allocations: 95.67 kB / 360.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.2406, allocations: 1.982 MB / 362.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.2547, allocations: 7.401 MB / 370.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.257, allocations: 1.351 MB / 371.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.2587, allocations: 0.8909 MB / 372.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.259, allocations: 122 kB / 372.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.2602, allocations: 0.6836 MB / 373.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/0.2602, allocations: 0 / 373.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.3584/0.6185, allocations: 7.349 MB / 380.6 MB, free: 51.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.6188, allocations: 198.2 kB / 380.8 MB, free: 51.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/0.6232, allocations: 1.416 MB / 382.2 MB, free: 51.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.6236, allocations: 45.52 kB / 382.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.6249, allocations: 0.9348 MB / 383.2 MB, free: 50.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.6254, allocations: 420.1 kB / 383.6 MB, free: 50.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/0.626, allocations: 248.8 kB / 383.9 MB, free: 50.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6262, allocations: 364.1 kB / 384.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.6277, allocations: 0.6316 MB / 384.9 MB, free: 49.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.6297, allocations: 1.002 MB / 385.9 MB, free: 48.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.6335, allocations: 1.71 MB / 387.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.6335, allocations: 3.094 kB / 387.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006155/0.6397, allocations: 2.337 MB / 389.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.6398, allocations: 9.078 kB / 389.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/0.6398, allocations: 9.312 kB / 389.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.6415, allocations: 498.5 kB / 390.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.6429, allocations: 301.4 kB / 390.7 MB, free: 46.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008196/0.6512, allocations: 6.577 MB / 397.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.6536, allocations: 98.92 kB / 397.4 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.6538, allocations: 57.8 kB / 397.4 MB, free: 41.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002046/0.6559, allocations: 0.637 MB / 398.1 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/0.6565, allocations: 152.7 kB / 398.2 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.6609, allocations: 2.134 MB / 400.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.6609, allocations: 11.81 kB / 400.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.6609, allocations: 7.875 kB / 400.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.6609, allocations: 14.45 kB / 400.4 MB, free: 40.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.6692, allocations: 4.547 MB / 404.9 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.6693, allocations: 4.25 kB / 404.9 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.6701, allocations: 194.6 kB / 405.1 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.6715, allocations: 0.5345 MB / 405.7 MB, free: 37.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6716, allocations: 35.33 kB / 405.7 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006907/0.6785, allocations: 8.011 MB / 413.7 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.6786, allocations: 12 kB / 413.7 MB, free: 29.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005017/0.6836, allocations: 3.09 MB / 416.8 MB, free: 25.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.6848, allocations: 371 kB / 417.2 MB, free: 25.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.6851, allocations: 31.98 kB / 417.2 MB, free: 25.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.6859, allocations: 67.94 kB / 417.3 MB, free: 25.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.6862, allocations: 100.7 kB / 417.4 MB, free: 25.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.6863, allocations: 47.36 kB / 417.4 MB, free: 25.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001555/0.6879, allocations: 0.9753 MB / 418.4 MB, free: 24.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.6879, allocations: 0 / 418.4 MB, free: 24.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002259/0.6902, allocations: 450.7 kB / 418.8 MB, free: 23.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.6917, allocations: 0.5002 MB / 419.3 MB, free: 23.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.6953, allocations: 2.238 MB / 421.6 MB, free: 21.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.6954, allocations: 0 / 421.6 MB, free: 21.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.6975, allocations: 1.531 MB / 423.1 MB, free: 19.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7001, allocations: 396.5 kB / 423.5 MB, free: 19.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/0.7087, allocations: 5.165 MB / 428.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.7101, allocations: 1.69 MB / 430.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/0.7108, allocations: 118.6 kB / 430.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of SimCode: time 1.342e-06/0.7108, allocations: 0 / 430.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of Templates: time 0.1147/0.8255, allocations: 73.3 MB / 0.492 GB, free: 2.504 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_ConveyorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_ConveyorCalcHelperMain.o] Error 1