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.0008927/0.000893, allocations: 95.05 kB / 17.96 MB, free: 5.629 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.001084/0.001084, allocations: 176.6 kB / 18.86 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005231/0.0005231, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01067/0.1459, allocations: 8.844 MB / 338.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007591/0.1536, allocations: 3.317 MB / 341.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.155, allocations: 35.81 kB / 341.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.1569, allocations: 0.6491 MB / 342.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.1598, allocations: 0.7306 MB / 343.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1611, allocations: 407.4 kB / 343.6 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004372/0.1655, allocations: 2.736 MB / 346.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.1675, allocations: 1.422 MB / 347.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.1691, allocations: 0.8479 MB / 348.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.1708, allocations: 1.202 MB / 349.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.1711, allocations: 124 kB / 349.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007396/0.1718, allocations: 263.7 kB / 350.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.1725, allocations: 0.6228 MB / 350.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.1738, allocations: 1.098 MB / 351.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.1769, allocations: 2.996 MB / 354.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1769, allocations: 4 kB / 354.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1769, allocations: 3.938 kB / 354.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.836e-05/0.177, allocations: 0 / 354.9 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.005122/0.1822, allocations: 2.266 MB / 357.2 MB, free: 8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1822, allocations: 12.03 kB / 357.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.183, allocations: 269.9 kB / 357.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.1852, allocations: 1.291 MB / 358.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.1854, allocations: 143.7 kB / 358.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.1857, allocations: 188 kB / 359.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/0.1902, allocations: 2.44 MB / 361.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.1902, allocations: 7.906 kB / 361.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.1904, allocations: 72 kB / 361.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1906, allocations: 95.67 kB / 361.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.1939, allocations: 1.994 MB / 363.7 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.2052, allocations: 7.429 MB / 371.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2071, allocations: 1.358 MB / 372.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.2087, allocations: 0.8871 MB / 373.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.2089, allocations: 126.1 kB / 373.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.21, allocations: 0.6836 MB / 374.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.304e-06/0.21, allocations: 0 / 374.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.316/0.5261, allocations: 7.424 MB / 381.6 MB, free: 50.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5262, allocations: 200.8 kB / 381.8 MB, free: 50.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.5297, allocations: 1.413 MB / 383.2 MB, free: 50.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.5299, allocations: 46.3 kB / 383.2 MB, free: 50.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.5311, allocations: 0.9377 MB / 384.2 MB, free: 49.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.5317, allocations: 426.7 kB / 384.6 MB, free: 49.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.5319, allocations: 112.7 kB / 384.7 MB, free: 49.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5321, allocations: 366.3 kB / 385 MB, free: 49.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5335, allocations: 0.6357 MB / 385.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.5353, allocations: 1.001 MB / 386.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.5387, allocations: 1.717 MB / 388.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.5388, allocations: 2.656 kB / 388.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005823/0.5446, allocations: 2.339 MB / 390.7 MB, free: 46.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.5447, allocations: 9.828 kB / 390.7 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/0.5447, allocations: 9.625 kB / 390.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.5465, allocations: 497 kB / 391.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.5479, allocations: 294.1 kB / 391.5 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.5549, allocations: 6.594 MB / 398.1 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5566, allocations: 94.86 kB / 398.2 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.5568, allocations: 57.44 kB / 398.3 MB, free: 41.2 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.001532/0.5583, allocations: 0.6379 MB / 398.9 MB, free: 40.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.5586, allocations: 156.1 kB / 399.1 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.5626, allocations: 2.14 MB / 401.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.5627, allocations: 12.31 kB / 401.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5627, allocations: 7.938 kB / 401.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.5627, allocations: 7.75 kB / 401.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007094/0.5698, allocations: 4.552 MB / 405.8 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5698, allocations: 3.625 kB / 405.8 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.5705, allocations: 195.9 kB / 406 MB, free: 37.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.5718, allocations: 0.5447 MB / 406.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.5719, allocations: 31.23 kB / 406.6 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.5784, allocations: 8.03 MB / 414.6 MB, free: 28.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5784, allocations: 7.984 kB / 414.6 MB, free: 28.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/0.5828, allocations: 3.087 MB / 417.7 MB, free: 25.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.5836, allocations: 378.9 kB / 418 MB, free: 25.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.5838, allocations: 35.98 kB / 418.1 MB, free: 25.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/0.5846, allocations: 75.92 kB / 418.2 MB, free: 24.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.5848, allocations: 92.75 kB / 418.2 MB, free: 24.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.5849, allocations: 39.98 kB / 418.3 MB, free: 24.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.5863, allocations: 0.9831 MB / 419.3 MB, free: 23.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5863, allocations: 4 kB / 419.3 MB, free: 23.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002128/0.5884, allocations: 446.6 kB / 419.7 MB, free: 23.42 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.001624/0.5901, allocations: 0.4915 MB / 420.2 MB, free: 22.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004148/0.5942, allocations: 2.246 MB / 422.4 MB, free: 20.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5942, allocations: 0 / 422.4 MB, free: 20.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.5968, allocations: 1.534 MB / 424 MB, free: 19.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.6002, allocations: 397.6 kB / 424.4 MB, free: 18.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6107, allocations: 5.336 MB / 429.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/0.6131, allocations: 1.678 MB / 431.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.6138, allocations: 119.4 kB / 431.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of SimCode: time 2.344e-06/0.6138, allocations: 0 / 431.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Templates: time 0.1124/0.7263, allocations: 72.99 MB / 0.4927 GB, free: 2.246 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