Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008791/0.0008792, allocations: 96.41 kB / 16.95 MB, free: 6.395 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.0008408/0.0008408, allocations: 175.5 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.523/1.523, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 11.94 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 50.41 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.3458/0.4937, allocations: 29.74 MB / 381.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.5191, allocations: 8.97 MB / 390.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009919/0.5291, allocations: 230.6 kB / 390.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00978/0.5389, allocations: 1.774 MB / 392.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01765/0.5566, allocations: 3.09 MB / 395.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.5651, allocations: 1.546 MB / 397.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02884/0.5939, allocations: 15.78 MB / 413 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04523/0.6392, allocations: 17.73 MB / 430.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/0.6527, allocations: 4.84 MB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.6664, allocations: 5.514 MB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004933/0.6714, allocations: 0.7383 MB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009261/0.6807, allocations: 1.105 MB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007179/0.6879, allocations: 2.379 MB / 445.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009416/0.6974, allocations: 2.422 MB / 447.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03331/0.7307, allocations: 21.25 MB / 469 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.7307, allocations: 0 / 469 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7308, allocations: 0 / 469 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009414/0.7317, allocations: 0 / 469 MB, free: 0.7383 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04255/0.7743, allocations: 12.57 MB / 481.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.7744, allocations: 8.031 kB / 481.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03748/0.8118, allocations: 6.751 MB / 488.3 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/0.8342, allocations: 7.799 MB / 496.1 MB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001573/0.8358, allocations: 0.8147 MB / 496.9 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007395/0.8433, allocations: 1.074 MB / 498 MB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0613/0.9046, allocations: 17.33 MB / 0.5032 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007709/0.9054, allocations: 19.8 kB / 0.5033 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006426/0.9119, allocations: 452 kB / 0.5037 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/0.913, allocations: 0.6358 MB / 0.5043 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04504/0.958, allocations: 16.3 MB / 0.5202 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6047/1.563, allocations: 55.61 MB / 0.5745 GB, free: 76.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02138/1.584, allocations: 33.31 MB / 0.6071 GB, free: 45.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007098/1.591, allocations: 4.443 MB / 0.6114 GB, free: 41.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02377/1.615, allocations: 12.19 MB / 0.6233 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00523/1.621, allocations: 3.086 MB / 0.6263 GB, free: 26.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=434): time 1.228e-05/1.621, allocations: 0 / 0.6263 GB, free: 26.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.06234/1.683, allocations: 25.04 MB / 0.6508 GB, free: 1.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/1.683, allocations: 411.4 kB / 0.6512 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.695, allocations: 4.531 MB / 0.6556 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.696, allocations: 101.7 kB / 0.6557 GB, free: 12.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005777/1.702, allocations: 4.753 MB / 0.6603 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00278/1.704, allocations: 1.544 MB / 0.6618 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008355/1.705, allocations: 124 kB / 0.662 GB, free: 5.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005371/1.706, allocations: 0.5423 MB / 0.6625 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006143/1.712, allocations: 2.811 MB / 0.6652 GB, free: 2.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008258/1.72, allocations: 4.995 MB / 0.6701 GB, free: 12.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/1.728, allocations: 3.842 MB / 0.6739 GB, free: 8.734 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.749e-05/1.728, allocations: 20 kB / 0.6739 GB, free: 8.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02409/1.752, allocations: 9.539 MB / 0.6832 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.753, allocations: 38.22 kB / 0.6832 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/1.753, allocations: 68 kB / 0.6833 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/1.757, allocations: 1.482 MB / 0.6848 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005928/1.763, allocations: 1.326 MB / 0.686 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.366/2.129, allocations: 16.29 MB / 0.702 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/2.137, allocations: 366.6 kB / 0.7023 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/2.139, allocations: 280.8 kB / 0.7026 GB, free: 144 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01231/2.152, allocations: 3.903 MB / 0.7064 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/2.153, allocations: 0.494 MB / 0.7069 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/2.173, allocations: 7.945 MB / 0.7146 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.993e-05/2.173, allocations: 50.39 kB / 0.7147 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.249e-05/2.173, allocations: 17.59 kB / 0.7147 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001383/2.173, allocations: 28.45 kB / 0.7147 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/2.212, allocations: 17.43 MB / 0.7317 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/2.212, allocations: 3.969 kB / 0.7317 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003503/2.216, allocations: 0.7576 MB / 0.7325 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/2.22, allocations: 1.548 MB / 0.734 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008255/2.221, allocations: 109.2 kB / 0.7341 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/2.242, allocations: 19.56 MB / 0.7532 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.242, allocations: 7.75 kB / 0.7532 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/2.26, allocations: 11.43 MB / 0.7644 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003924/2.264, allocations: 1.156 MB / 0.7655 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/2.266, allocations: 98.67 kB / 0.7656 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/2.27, allocations: 247 kB / 0.7658 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009413/2.271, allocations: 332.3 kB / 0.7662 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/2.271, allocations: 135.5 kB / 0.7663 GB, free: 107.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005929/2.277, allocations: 3.084 MB / 0.7693 GB, free: 105.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.703e-06/2.277, allocations: 0 / 0.7693 GB, free: 105.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01189/2.289, allocations: 1.882 MB / 0.7711 GB, free: 103.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.3%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002696/2.292, allocations: 0.5865 MB / 0.7717 GB, free: 103.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01602/2.308, allocations: 8.041 MB / 0.7796 GB, free: 95.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/2.308, allocations: 0 / 0.7796 GB, free: 95.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/2.318, allocations: 4.659 MB / 0.7841 GB, free: 90.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01216/2.331, allocations: 1.277 MB / 0.7854 GB, free: 89.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0577/2.388, allocations: 23.14 MB / 0.808 GB, free: 65.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01661/2.405, allocations: 6.63 MB / 0.8144 GB, free: 59.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/2.408, allocations: 439.3 kB / 0.8148 GB, free: 58.75 MB / 478.1 MB Notification: Performance of SimCode: time 2.174e-06/2.409, allocations: 0 / 0.8148 GB, free: 58.75 MB / 478.1 MB Notification: Performance of Templates: time 1.596/4.004, allocations: 0.5144 GB / 1.329 GB, free: 100.1 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1