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.000781/0.0007813, allocations: 91.97 kB / 17.58 MB, free: 5.801 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.0008673/0.0008673, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.926/1.926, allocations: 205.4 MB / 224.6 MB, free: 13 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.0005106/0.0005107, allocations: 20 kB / 281.4 MB, free: 3.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 47.57 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01003/0.1332, allocations: 8.326 MB / 337.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007173/0.1404, allocations: 3.193 MB / 340.5 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.1424, allocations: 35.81 kB / 340.5 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.1446, allocations: 0.6062 MB / 341.1 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.1488, allocations: 0.6994 MB / 341.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.1508, allocations: 311.5 kB / 342.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00564/0.1564, allocations: 2.467 MB / 344.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.1587, allocations: 1.224 MB / 345.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.1607, allocations: 0.8404 MB / 346.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.1626, allocations: 1.156 MB / 347.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.1628, allocations: 124 kB / 348 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.1635, allocations: 223.9 kB / 348.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006422/0.1641, allocations: 0.6191 MB / 348.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.1648, allocations: 456.6 kB / 349.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.1679, allocations: 2.984 MB / 352.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1679, allocations: 4 kB / 352.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1679, allocations: 0 / 352.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.168, allocations: 0 / 352.2 MB, free: 12.68 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.00551/0.1736, allocations: 2.285 MB / 354.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.1736, allocations: 11.97 kB / 354.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.1744, allocations: 269 kB / 354.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.1768, allocations: 1.256 MB / 356 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1769, allocations: 139.7 kB / 356.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.1772, allocations: 195.9 kB / 356.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.1817, allocations: 2.428 MB / 358.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.1817, allocations: 3.953 kB / 358.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.1819, allocations: 76 kB / 358.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.1821, allocations: 95.67 kB / 359 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.1856, allocations: 1.978 MB / 361 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.198, allocations: 7.425 MB / 368.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.1999, allocations: 1.349 MB / 369.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.2015, allocations: 0.8932 MB / 370.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.2018, allocations: 118.1 kB / 370.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.2029, allocations: 0.6836 MB / 371.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.967e-06/0.2029, allocations: 0 / 371.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01518/0.2181, allocations: 7.408 MB / 378.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.2182, allocations: 196.9 kB / 379 MB, free: 1.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2717/0.4899, allocations: 1.4 MB / 380.4 MB, free: 50.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003001/0.4903, allocations: 47.33 kB / 380.5 MB, free: 50.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.4913, allocations: 0.9379 MB / 381.4 MB, free: 50.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.4918, allocations: 421.5 kB / 381.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.4919, allocations: 28.06 kB / 381.8 MB, free: 50.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.492, allocations: 359.4 kB / 382.2 MB, free: 50.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4934, allocations: 0.6323 MB / 382.8 MB, free: 50.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.495, allocations: 1 MB / 383.8 MB, free: 49.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.4963, allocations: 0.7859 MB / 384.6 MB, free: 49.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4963, allocations: 3.938 kB / 384.6 MB, free: 49.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004411/0.5008, allocations: 2.33 MB / 386.9 MB, free: 48.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5008, allocations: 8.906 kB / 387 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.5008, allocations: 9.531 kB / 387 MB, free: 48.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.5021, allocations: 494.8 kB / 387.4 MB, free: 48.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.5033, allocations: 294.4 kB / 387.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/0.5107, allocations: 6.589 MB / 394.3 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5122, allocations: 98.3 kB / 394.4 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.5124, allocations: 52.89 kB / 394.5 MB, free: 42.86 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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 (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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001484/0.5138, allocations: 0.6385 MB / 395.1 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.5143, allocations: 153.4 kB / 395.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.5181, allocations: 2.135 MB / 397.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5181, allocations: 12.25 kB / 397.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5182, allocations: 9.016 kB / 397.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.5182, allocations: 5.094 kB / 397.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/0.5257, allocations: 4.555 MB / 402 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.5257, allocations: 3.938 kB / 402 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.5264, allocations: 192.7 kB / 402.2 MB, free: 39.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.5276, allocations: 0.5375 MB / 402.7 MB, free: 39.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.5277, allocations: 31.73 kB / 402.7 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.5339, allocations: 8.018 MB / 410.7 MB, free: 32.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.534, allocations: 3.906 kB / 410.8 MB, free: 32.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.5382, allocations: 3.075 MB / 413.8 MB, free: 29.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/0.5392, allocations: 390.9 kB / 414.2 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.5394, allocations: 33.41 kB / 414.2 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.54, allocations: 71.92 kB / 414.3 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.5403, allocations: 100.8 kB / 414.4 MB, free: 28.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.5404, allocations: 39.98 kB / 414.4 MB, free: 28.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.5417, allocations: 0.9714 MB / 415.4 MB, free: 27.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5417, allocations: 0 / 415.4 MB, free: 27.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001738/0.5434, allocations: 450.6 kB / 415.9 MB, free: 26.98 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 (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%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.5446, allocations: 471.5 kB / 416.3 MB, free: 26.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.5477, allocations: 2.246 MB / 418.6 MB, free: 24.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5477, allocations: 0 / 418.6 MB, free: 24.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.5496, allocations: 1.527 MB / 420.1 MB, free: 22.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.5517, allocations: 392.6 kB / 420.5 MB, free: 22.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.5584, allocations: 5.1 MB / 425.6 MB, free: 17.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.5595, allocations: 1.686 MB / 427.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.56, allocations: 111.4 kB / 427.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5601, allocations: 4 kB / 427.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of Templates: time 0.0899/0.65, allocations: 72.98 MB / 0.4886 GB, free: 6.082 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++ 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_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