Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 93.28 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.00137/0.00137, allocations: 197.2 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.637/1.637, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 51.5 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.2729/0.4187, allocations: 18.46 MB / 377.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.4325, allocations: 5.759 MB / 383 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/0.4373, allocations: 122.9 kB / 383.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.4416, allocations: 1.005 MB / 384.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00943/0.4511, allocations: 1.58 MB / 385.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.455, allocations: 0.8501 MB / 386.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.467, allocations: 6.222 MB / 392.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008156/0.4752, allocations: 3.632 MB / 396.4 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.4803, allocations: 2.008 MB / 398.5 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.4865, allocations: 2.66 MB / 401.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001814/0.4883, allocations: 322.5 kB / 401.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00436/0.4927, allocations: 0.5832 MB / 402 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.4948, allocations: 1.37 MB / 403.4 MB, free: 88 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.4976, allocations: 1.132 MB / 404.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.5082, allocations: 8.414 MB / 412.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5083, allocations: 0 / 412.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5083, allocations: 0 / 412.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002994/0.5086, allocations: 0 / 412.9 MB, free: 6.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01443/0.523, allocations: 5.628 MB / 418.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5231, allocations: 12.03 kB / 418.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.5282, allocations: 1.016 MB / 419.6 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/0.5347, allocations: 3.362 MB / 422.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.535, allocations: 398.2 kB / 423.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008308/0.5359, allocations: 0.5037 MB / 423.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.5484, allocations: 6.751 MB / 430.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.5485, allocations: 11.92 kB / 430.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.549, allocations: 208 kB / 430.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.5492, allocations: 242.2 kB / 431 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.5599, allocations: 5.74 MB / 436.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.597, allocations: 21.29 MB / 458.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009096/0.6062, allocations: 8.82 MB / 466.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/0.6097, allocations: 2.233 MB / 469.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.6213, allocations: 6.23 MB / 475.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.6214, allocations: 60.56 kB / 475.4 MB, free: 6.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.308e-06/0.6214, allocations: 0 / 475.4 MB, free: 6.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=222): time 0.02291/0.6443, allocations: 10.55 MB / 486 MB, free: 11.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.6444, allocations: 73.41 kB / 486 MB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/0.6506, allocations: 2.906 MB / 488.9 MB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6508, allocations: 65.7 kB / 489 MB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.6529, allocations: 2.369 MB / 491.4 MB, free: 6.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007947/0.6537, allocations: 0.7624 MB / 492.1 MB, free: 5.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.6539, allocations: 60 kB / 492.2 MB, free: 5.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.6543, allocations: 428 kB / 492.6 MB, free: 4.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.6566, allocations: 1.271 MB / 493.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.6597, allocations: 2.179 MB / 496.1 MB, free: 1.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.6628, allocations: 1.65 MB / 497.7 MB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/0.6628, allocations: 8 kB / 497.7 MB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.008408/0.6712, allocations: 4.466 MB / 0.4904 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.6713, allocations: 20 kB / 0.4904 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/0.6713, allocations: 28 kB / 0.4905 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.6726, allocations: 0.5372 MB / 0.491 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.6751, allocations: 0.6942 MB / 0.4917 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.6848, allocations: 9.49 MB / 0.5009 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.6877, allocations: 195.6 kB / 0.5011 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/0.6881, allocations: 124 kB / 0.5012 GB, free: 15.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 338 * 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: 5 * 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: 5 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004049/0.6922, allocations: 1.524 MB / 0.5027 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009993/0.6932, allocations: 312.2 kB / 0.503 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.7012, allocations: 3.922 MB / 0.5069 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.7012, allocations: 23.94 kB / 0.5069 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/0.7013, allocations: 8 kB / 0.5069 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.7013, allocations: 11.95 kB / 0.5069 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.7201, allocations: 8.526 MB / 0.5152 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.7201, allocations: 3.984 kB / 0.5152 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.7218, allocations: 383.8 kB / 0.5156 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.7238, allocations: 0.7444 MB / 0.5163 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.7241, allocations: 63.91 kB / 0.5164 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3093/1.033, allocations: 15.34 MB / 0.5314 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/1.033, allocations: 6.656 kB / 0.5314 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.045, allocations: 5.602 MB / 0.5368 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.047, allocations: 0.6592 MB / 0.5375 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007907/1.048, allocations: 53.31 kB / 0.5375 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.049, allocations: 149.9 kB / 0.5377 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.05, allocations: 162.6 kB / 0.5378 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.05, allocations: 67.11 kB / 0.5379 GB, free: 133.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004155/1.054, allocations: 1.959 MB / 0.5398 GB, free: 132.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.1e-07/1.054, allocations: 0 / 0.5398 GB, free: 132.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005655/1.06, allocations: 0.9388 MB / 0.5407 GB, free: 132.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 5,(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(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.0008298/1.061, allocations: 231.3 kB / 0.5409 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00833/1.069, allocations: 3.979 MB / 0.5448 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.069, allocations: 1.312 kB / 0.5448 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004635/1.074, allocations: 2.681 MB / 0.5474 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.079, allocations: 0.8327 MB / 0.5483 GB, free: 128.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.097, allocations: 11.41 MB / 0.5594 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.1, allocations: 3.227 MB / 0.5626 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.102, allocations: 244.6 kB / 0.5628 GB, free: 121.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/1.102, allocations: 0 / 0.5628 GB, free: 121.1 MB / 446.1 MB Notification: Performance of Templates: time 0.4653/1.567, allocations: 250.8 MB / 0.8077 GB, free: 56.88 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.o] Error 1