Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007995/0.0007995, allocations: 97.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009937/0.0009937, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 4 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01266/0.1507, allocations: 8.414 MB / 367.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008922/0.1597, allocations: 3.403 MB / 370.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.1613, allocations: 43.81 kB / 370.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.1631, allocations: 0.6061 MB / 371.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.1657, allocations: 0.7227 MB / 372 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1669, allocations: 334.8 kB / 372.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3217/0.4886, allocations: 2.46 MB / 374.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.4917, allocations: 1.266 MB / 376 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.4951, allocations: 0.8522 MB / 376.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.4989, allocations: 1.16 MB / 378.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005468/0.4995, allocations: 121.2 kB / 378.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.5013, allocations: 236.3 kB / 378.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.5027, allocations: 0.6105 MB / 379 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.5042, allocations: 466.4 kB / 379.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.5107, allocations: 2.995 MB / 382.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.5107, allocations: 0 / 382.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.5107, allocations: 0 / 382.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.5109, allocations: 0 / 382.5 MB, free: 9.285 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.009534/0.5205, allocations: 2.307 MB / 384.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.793e-05/0.5206, allocations: 11.48 kB / 384.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.5229, allocations: 277.7 kB / 385 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/0.5273, allocations: 1.309 MB / 386.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.5276, allocations: 141.4 kB / 386.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.5281, allocations: 190.1 kB / 386.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005927/0.534, allocations: 2.427 MB / 389.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-05/0.5341, allocations: 6.5 kB / 389.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.5344, allocations: 74.72 kB / 389.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.5346, allocations: 94.95 kB / 389.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.5394, allocations: 1.972 MB / 391.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.553, allocations: 7.437 MB / 398.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5551, allocations: 1.352 MB / 400 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.5569, allocations: 0.8878 MB / 400.9 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.5572, allocations: 121 kB / 401 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.5589, allocations: 0.6852 MB / 401.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 4.018e-06/0.5589, allocations: 0 / 401.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.0181/0.577, allocations: 7.396 MB / 409.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.5772, allocations: 171.2 kB / 409.3 MB, free: 7.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.58, allocations: 1.423 MB / 410.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5801, allocations: 49.7 kB / 410.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.5812, allocations: 0.9439 MB / 411.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.5817, allocations: 420.3 kB / 412.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.5818, allocations: 28 kB / 412.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.582, allocations: 361.9 kB / 412.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.5831, allocations: 0.6307 MB / 413.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5846, allocations: 1.001 MB / 414.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.5859, allocations: 0.785 MB / 414.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5859, allocations: 4 kB / 414.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004409/0.5904, allocations: 2.335 MB / 417.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.5904, allocations: 8 kB / 417.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.5904, allocations: 16.23 kB / 417.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.5917, allocations: 0.4887 MB / 417.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5928, allocations: 295.5 kB / 418.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.5999, allocations: 6.578 MB / 424.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.6018, allocations: 99.88 kB / 424.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.602, allocations: 55.95 kB / 424.8 MB, free: 7.758 MB / 334.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.002152/0.6041, allocations: 0.6385 MB / 425.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.6046, allocations: 154.1 kB / 425.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.6086, allocations: 2.148 MB / 427.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.6086, allocations: 12 kB / 427.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.6086, allocations: 7.953 kB / 427.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.6087, allocations: 19.23 kB / 427.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.6177, allocations: 4.457 MB / 432.2 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.6177, allocations: 3.984 kB / 432.2 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/0.6186, allocations: 187.8 kB / 432.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.6201, allocations: 0.5328 MB / 432.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.6202, allocations: 39.97 kB / 433 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.6304, allocations: 8.021 MB / 441 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.6305, allocations: 11.94 kB / 441 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005451/0.636, allocations: 3.076 MB / 444.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.6371, allocations: 375 kB / 444.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.6373, allocations: 35 kB / 444.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.6381, allocations: 71.92 kB / 444.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.6384, allocations: 104.8 kB / 444.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.6385, allocations: 36 kB / 444.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001842/0.6403, allocations: 0.9796 MB / 445.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6404, allocations: 0 / 445.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002077/0.6424, allocations: 448 kB / 446.1 MB, free: 1.629 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.001429/0.6439, allocations: 468.1 kB / 446.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.6487, allocations: 2.249 MB / 448.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6487, allocations: 0 / 448.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.6514, allocations: 1.513 MB / 450.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.6542, allocations: 423.9 kB / 450.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009879/0.6641, allocations: 5.108 MB / 455.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.6661, allocations: 1.69 MB / 457.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/0.6669, allocations: 119.4 kB / 457.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-06/0.667, allocations: 0 / 457.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of Templates: time 0.1082/0.7751, allocations: 73.31 MB / 0.5185 GB, free: 12.71 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1