Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 96.8 kB / 16.96 MB, free: 6.41 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.001226/0.001226, allocations: 177.1 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01209/0.1577, allocations: 8.371 MB / 360.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00826/0.1661, allocations: 3.231 MB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.1679, allocations: 43.81 kB / 363.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.1701, allocations: 0.6062 MB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.1729, allocations: 0.6915 MB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1743, allocations: 326.8 kB / 365.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.1783, allocations: 2.459 MB / 367.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.1802, allocations: 1.264 MB / 368.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.1822, allocations: 0.8365 MB / 369.7 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.1843, allocations: 1.148 MB / 370.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.1846, allocations: 124 kB / 371 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007187/0.1853, allocations: 215.9 kB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2583/0.4436, allocations: 0.6153 MB / 371.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.4453, allocations: 458.1 kB / 372.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.4507, allocations: 2.982 MB / 375.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4507, allocations: 0 / 375.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4507, allocations: 0 / 375.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001619/0.4509, allocations: 0.9688 kB / 375.2 MB, free: 11.49 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.006733/0.4576, allocations: 2.297 MB / 377.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4577, allocations: 10.38 kB / 377.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.4589, allocations: 269 kB / 377.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.4617, allocations: 1.297 MB / 379.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.4618, allocations: 138.7 kB / 379.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.4622, allocations: 191.6 kB / 379.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/0.4673, allocations: 2.426 MB / 381.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/0.4674, allocations: 13.92 kB / 381.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.4676, allocations: 74.7 kB / 381.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.4678, allocations: 94.53 kB / 382 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.4718, allocations: 1.983 MB / 384 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.4845, allocations: 7.417 MB / 391.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.4864, allocations: 1.353 MB / 392.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.488, allocations: 0.8916 MB / 393.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4883, allocations: 121.3 kB / 393.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.4895, allocations: 0.681 MB / 394.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 4.218e-06/0.4895, allocations: 0 / 394.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01547/0.505, allocations: 7.391 MB / 401.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.5051, allocations: 175.1 kB / 402 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.5078, allocations: 1.402 MB / 403.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.508, allocations: 49.7 kB / 403.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.5092, allocations: 0.9277 MB / 404.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.5097, allocations: 428.4 kB / 404.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.5098, allocations: 24 kB / 404.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.51, allocations: 361.9 kB / 405.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.5111, allocations: 0.6325 MB / 405.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.5126, allocations: 0.9982 MB / 406.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.5139, allocations: 0.7802 MB / 407.6 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.5139, allocations: 7.656 kB / 407.6 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004915/0.5188, allocations: 2.343 MB / 410 MB, free: 8.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.5189, allocations: 8 kB / 410 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.5189, allocations: 8 kB / 410 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.5202, allocations: 496 kB / 410.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.5213, allocations: 296.1 kB / 410.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/0.5293, allocations: 6.586 MB / 417.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.5312, allocations: 103.8 kB / 417.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.5314, allocations: 52 kB / 417.5 MB, free: 0.7891 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: 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.002087/0.5335, allocations: 0.6359 MB / 418.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.5341, allocations: 154.1 kB / 418.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.5382, allocations: 2.145 MB / 420.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5383, allocations: 12 kB / 420.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.5383, allocations: 8 kB / 420.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.5383, allocations: 11.95 kB / 420.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008088/0.5464, allocations: 4.46 MB / 424.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5465, allocations: 4 kB / 424.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.5472, allocations: 192.5 kB / 425.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.5486, allocations: 0.5388 MB / 425.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/0.5487, allocations: 31.98 kB / 425.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008525/0.5572, allocations: 8.019 MB / 433.7 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5573, allocations: 6.875 kB / 433.7 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006544/0.5639, allocations: 3.079 MB / 436.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.5657, allocations: 379 kB / 437.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006563/0.5664, allocations: 31.98 kB / 437.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.5679, allocations: 75.92 kB / 437.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/0.5684, allocations: 95.64 kB / 437.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.5685, allocations: 39.98 kB / 437.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003093/0.5716, allocations: 0.9675 MB / 438.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5716, allocations: 0 / 438.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004102/0.5758, allocations: 448.1 kB / 438.8 MB, free: 10.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (104): * Single equations (assignments): 97 * 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.002005/0.5778, allocations: 482.9 kB / 439.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006412/0.5842, allocations: 2.246 MB / 441.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.5843, allocations: 3.828 kB / 441.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003836/0.5881, allocations: 1.521 MB / 443 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/0.5922, allocations: 399 kB / 443.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.6075, allocations: 5.1 MB / 448.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.6102, allocations: 1.686 MB / 450.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009774/0.6112, allocations: 115.4 kB / 450.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.833e-06/0.6112, allocations: 0 / 450.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.1256/0.7368, allocations: 72.98 MB / 0.511 GB, free: 6.387 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1