Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.000819/0.0008191, allocations: 89.25 kB / 17.58 MB, free: 5.758 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.0008282/0.0008282, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.646/1.646, allocations: 205.4 MB / 224.6 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.0005289/0.0005289, allocations: 12 kB / 281.4 MB, free: 3.699 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 47.58 MB / 329 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03183/0.1467, allocations: 29.82 MB / 358.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02475/0.1715, allocations: 8.887 MB / 367.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009481/0.181, allocations: 203.2 kB / 367.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008087/0.1891, allocations: 1.771 MB / 369.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.2021, allocations: 3.153 MB / 372.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006209/0.2083, allocations: 1.551 MB / 374.4 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2632/0.4715, allocations: 15.94 MB / 390.3 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03664/0.5082, allocations: 17.69 MB / 408 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.52, allocations: 4.9 MB / 412.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.5317, allocations: 5.627 MB / 418.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004359/0.5361, allocations: 0.7383 MB / 419.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00788/0.544, allocations: 1.104 MB / 420.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005533/0.5496, allocations: 2.433 MB / 422.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007472/0.5571, allocations: 2.442 MB / 425.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02793/0.5851, allocations: 21.29 MB / 446.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5851, allocations: 4 kB / 446.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5851, allocations: 0 / 446.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008981/0.5861, allocations: 0 / 446.6 MB, free: 1.742 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.04111/0.6272, allocations: 12.69 MB / 459.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6272, allocations: 12.03 kB / 459.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04175/0.669, allocations: 7.738 MB / 467 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/0.6882, allocations: 7.24 MB / 474.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/0.6893, allocations: 0.8186 MB / 475.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005667/0.695, allocations: 1.093 MB / 476.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05568/0.7507, allocations: 17.79 MB / 493.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000751/0.7515, allocations: 15.81 kB / 494 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006762/0.7583, allocations: 457.1 kB / 494.4 MB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.7595, allocations: 0.6714 MB / 495.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04604/0.8055, allocations: 16.97 MB / 0.5 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5704/1.376, allocations: 56.93 MB / 0.5556 GB, free: 95.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02797/1.404, allocations: 42.39 MB / 0.597 GB, free: 59.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00934/1.413, allocations: 4.607 MB / 0.6015 GB, free: 58.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/1.435, allocations: 13.22 MB / 0.6144 GB, free: 51.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003629/1.439, allocations: 3.085 MB / 0.6174 GB, free: 49.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=434): time 5.54e-06/1.439, allocations: 3.938 kB / 0.6175 GB, free: 49.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.05108/1.49, allocations: 25.35 MB / 0.6422 GB, free: 31.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/1.49, allocations: 407.4 kB / 0.6426 GB, free: 30.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007307/1.497, allocations: 4.683 MB / 0.6472 GB, free: 26.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009462/1.498, allocations: 101.7 kB / 0.6473 GB, free: 26.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00382/1.502, allocations: 4.899 MB / 0.652 GB, free: 21.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001721/1.504, allocations: 1.561 MB / 0.6536 GB, free: 19.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/1.504, allocations: 124 kB / 0.6537 GB, free: 19.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000259/1.505, allocations: 0.5547 MB / 0.6542 GB, free: 18.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/1.508, allocations: 2.87 MB / 0.657 GB, free: 16.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/1.513, allocations: 5.282 MB / 0.6622 GB, free: 9.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.519, allocations: 3.979 MB / 0.6661 GB, free: 5.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/1.519, allocations: 20 kB / 0.6661 GB, free: 5.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01611/1.535, allocations: 9.839 MB / 0.6757 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.535, allocations: 37.41 kB / 0.6757 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.535, allocations: 76 kB / 0.6758 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00385/1.539, allocations: 1.511 MB / 0.6773 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/1.545, allocations: 1.408 MB / 0.6787 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/1.566, allocations: 16.31 MB / 0.6946 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/1.572, allocations: 371.5 kB / 0.6949 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/1.574, allocations: 300 kB / 0.6952 GB, free: 7.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * 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.01063/1.585, allocations: 3.974 MB / 0.6991 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/1.587, allocations: 0.5017 MB / 0.6996 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3229/1.91, allocations: 7.954 MB / 0.7074 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-05/1.91, allocations: 51.3 kB / 0.7074 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.045e-05/1.91, allocations: 17.12 kB / 0.7074 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.011e-05/1.91, allocations: 23.39 kB / 0.7075 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03908/1.949, allocations: 17.51 MB / 0.7246 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/1.949, allocations: 4.812 kB / 0.7246 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/1.952, allocations: 0.7618 MB / 0.7253 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/1.956, allocations: 1.551 MB / 0.7268 GB, free: 135.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/1.957, allocations: 117.6 kB / 0.7269 GB, free: 135.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/1.976, allocations: 19.55 MB / 0.746 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.977, allocations: 3.906 kB / 0.746 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1.995, allocations: 11.44 MB / 0.7572 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003475/1.998, allocations: 1.164 MB / 0.7583 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.999, allocations: 100.1 kB / 0.7584 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/2.002, allocations: 249.5 kB / 0.7587 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007566/2.003, allocations: 337.1 kB / 0.759 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/2.003, allocations: 128.9 kB / 0.7591 GB, free: 115.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00536/2.009, allocations: 3.176 MB / 0.7622 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.3e-07/2.009, allocations: 0 / 0.7622 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008753/2.017, allocations: 1.911 MB / 0.7641 GB, free: 112.8 MB / 462.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.8%) 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.001728/2.019, allocations: 0.5739 MB / 0.7646 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01311/2.032, allocations: 8.192 MB / 0.7726 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.032, allocations: 4.812 kB / 0.7726 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007314/2.04, allocations: 4.653 MB / 0.7772 GB, free: 99.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006957/2.047, allocations: 1.293 MB / 0.7785 GB, free: 98.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/2.084, allocations: 23.58 MB / 0.8015 GB, free: 74.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006505/2.09, allocations: 6.707 MB / 0.808 GB, free: 67.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/2.092, allocations: 455.3 kB / 0.8085 GB, free: 67.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.363e-06/2.092, allocations: 0 / 0.8085 GB, free: 67.34 MB / 462.1 MB Notification: Performance of Templates: time 1.476/3.568, allocations: 0.5201 GB / 1.329 GB, free: 78.43 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1