Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.001601, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001966/0.001966, allocations: 176.3 kB / 17.84 MB, free: 5.617 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.556/1.556, allocations: 223.2 MB / 241.8 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003165, allocations: 7.938 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.02335/0.1763, allocations: 17.9 MB / 369.8 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2956/0.472, allocations: 5.535 MB / 375.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.4755, allocations: 122.8 kB / 375.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.4788, allocations: 0.9921 MB / 376.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.4848, allocations: 1.595 MB / 378 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.4874, allocations: 0.8165 MB / 378.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.4984, allocations: 6.119 MB / 385 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006214/0.5047, allocations: 3.642 MB / 388.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004888/0.5096, allocations: 1.998 MB / 390.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005636/0.5153, allocations: 2.655 MB / 393.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.517, allocations: 322.7 kB / 393.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.5204, allocations: 0.5558 MB / 394.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002422/0.5229, allocations: 1.375 MB / 395.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.5257, allocations: 1.131 MB / 396.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007913/0.5336, allocations: 8.373 MB / 405 MB, free: 14.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5337, allocations: 0 / 405 MB, free: 14.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.5337, allocations: 0 / 405 MB, free: 14.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003219/0.534, allocations: 0 / 405 MB, free: 14.97 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.0159/0.5499, allocations: 5.604 MB / 410.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.55, allocations: 8.031 kB / 410.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/0.5552, allocations: 1.017 MB / 411.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007177/0.5624, allocations: 3.34 MB / 415 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5628, allocations: 397.2 kB / 415.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.5638, allocations: 0.5064 MB / 415.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.5764, allocations: 6.748 MB / 422.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.5765, allocations: 15.84 kB / 422.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/0.577, allocations: 213 kB / 422.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.5773, allocations: 242.2 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.5885, allocations: 5.748 MB / 428.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.6311, allocations: 21.18 MB / 450 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009568/0.6408, allocations: 8.553 MB / 458.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/0.6448, allocations: 2.133 MB / 460.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.6579, allocations: 5.952 MB / 466.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.658, allocations: 54.86 kB / 466.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.228e-06/0.658, allocations: 4 kB / 466.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=222): time 0.02244/0.6805, allocations: 10.52 MB / 477.2 MB, free: 5.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.6806, allocations: 79.48 kB / 477.3 MB, free: 5.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005995/0.6866, allocations: 2.877 MB / 480.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.687, allocations: 61.7 kB / 480.2 MB, free: 2.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.689, allocations: 2.351 MB / 482.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.6901, allocations: 0.7714 MB / 483.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.6905, allocations: 56 kB / 483.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002844/0.6908, allocations: 427.8 kB / 483.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.6933, allocations: 1.271 MB / 485.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.6964, allocations: 2.187 MB / 487.3 MB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/0.6995, allocations: 1.646 MB / 488.9 MB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/0.6995, allocations: 8 kB / 488.9 MB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009385/0.7089, allocations: 4.45 MB / 493.4 MB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.709, allocations: 20.53 kB / 493.4 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-05/0.7091, allocations: 31.98 kB / 493.4 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.7103, allocations: 0.5172 MB / 494 MB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/0.7129, allocations: 0.6942 MB / 494.7 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008934/0.7219, allocations: 9.321 MB / 0.4922 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.7251, allocations: 183.7 kB / 0.4923 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005968/0.7257, allocations: 128 kB / 0.4925 GB, free: 8.844 MB / 414.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 (348): * Single equations (assignments): 341 * 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%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004274/0.73, allocations: 1.52 MB / 0.4939 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.7312, allocations: 320.1 kB / 0.4943 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.7388, allocations: 3.891 MB / 0.4981 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.7388, allocations: 29.92 kB / 0.4981 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.7389, allocations: 12 kB / 0.4981 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.7389, allocations: 7.969 kB / 0.4981 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.7554, allocations: 8.502 MB / 0.5064 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7555, allocations: 4 kB / 0.5064 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.7571, allocations: 391.9 kB / 0.5068 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.7589, allocations: 0.713 MB / 0.5075 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.7591, allocations: 59.97 kB / 0.5075 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.7745, allocations: 15.22 MB / 0.5224 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7746, allocations: 7.938 kB / 0.5224 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009742/0.7843, allocations: 5.573 MB / 0.5278 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/0.7864, allocations: 0.6571 MB / 0.5285 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/0.7869, allocations: 55.98 kB / 0.5285 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.7883, allocations: 143.9 kB / 0.5287 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.7888, allocations: 173.7 kB / 0.5288 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.789, allocations: 63.92 kB / 0.5289 GB, free: 2.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003484/0.7924, allocations: 1.944 MB / 0.5308 GB, free: 92 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7925, allocations: 0 / 0.5308 GB, free: 92 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.3171/1.11, allocations: 0.9285 MB / 0.5317 GB, free: 141.3 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 (185): * Single equations (assignments): 177 * 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%) 3,(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.001163/1.111, allocations: 216.1 kB / 0.5319 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009686/1.121, allocations: 3.97 MB / 0.5358 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.121, allocations: 1.219 kB / 0.5358 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005593/1.126, allocations: 2.675 MB / 0.5384 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006359/1.133, allocations: 0.8193 MB / 0.5392 GB, free: 139.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.159, allocations: 11.4 MB / 0.5503 GB, free: 133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005816/1.165, allocations: 3.218 MB / 0.5535 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/1.167, allocations: 245 kB / 0.5537 GB, free: 131.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.853e-06/1.167, allocations: 0 / 0.5537 GB, free: 131.8 MB / 446.1 MB Notification: Performance of Templates: time 0.5154/1.682, allocations: 249.8 MB / 0.7976 GB, free: 70.17 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_InverterCalcHelperMain.o] Error 1