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_Characteristics.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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001716/0.001716, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.967/1.967, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001495/0.001495, allocations: 44.41 kB / 280.6 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1735, allocations: 46.64 MB / 327.3 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03375/0.2074, allocations: 24.45 MB / 351.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02655/0.2341, allocations: 7.292 MB / 359 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01069/0.2449, allocations: 155.4 kB / 359.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02455/0.2696, allocations: 8.317 MB / 367.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01516/0.2848, allocations: 2.734 MB / 370.2 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008902/0.2937, allocations: 1.621 MB / 371.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3685/0.6623, allocations: 10.81 MB / 382.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04472/0.7071, allocations: 18.17 MB / 400.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01417/0.7213, allocations: 4.979 MB / 405.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01485/0.7362, allocations: 6.044 MB / 411.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006422/0.7427, allocations: 1.082 MB / 412.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.7531, allocations: 1.447 MB / 414.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007109/0.7602, allocations: 2.611 MB / 417 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01964/0.7799, allocations: 5.608 MB / 422.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03119/0.8112, allocations: 19.56 MB / 442.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.8112, allocations: 0 / 442.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8113, allocations: 0 / 442.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009318/0.8122, allocations: 0 / 442.2 MB, free: 10.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05665/0.8689, allocations: 12.98 MB / 455.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.243e-05/0.869, allocations: 8.031 kB / 455.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04363/0.9126, allocations: 7.143 MB / 462.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.932, allocations: 6.146 MB / 468.4 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/0.9333, allocations: 0.7162 MB / 469.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007317/0.9406, allocations: 0.9355 MB / 470.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06532/1.006, allocations: 16.22 MB / 486.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007767/1.007, allocations: 11.89 kB / 486.3 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007191/1.014, allocations: 401.5 kB / 486.7 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009714/1.015, allocations: 0.5785 MB / 487.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04983/1.065, allocations: 15.46 MB / 0.491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7695/1.834, allocations: 52.85 MB / 0.5426 GB, free: 121.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03624/1.871, allocations: 35.52 MB / 0.5773 GB, free: 91.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006429/1.877, allocations: 3.434 MB / 0.5806 GB, free: 91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/1.898, allocations: 10.15 MB / 0.5905 GB, free: 89.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/1.898, allocations: 62.48 kB / 0.5906 GB, free: 89.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 6.663e-06/1.898, allocations: 0 / 0.5906 GB, free: 89.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.03926/1.937, allocations: 15.1 MB / 0.6053 GB, free: 83.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/1.938, allocations: 84.22 kB / 0.6054 GB, free: 83.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007717/1.945, allocations: 3.85 MB / 0.6092 GB, free: 81.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008954/1.946, allocations: 77.61 kB / 0.6093 GB, free: 81.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003137/1.949, allocations: 4.252 MB / 0.6134 GB, free: 78.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.951, allocations: 1.077 MB / 0.6145 GB, free: 77.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/1.953, allocations: 1.099 MB / 0.6155 GB, free: 76.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/1.953, allocations: 305.1 kB / 0.6158 GB, free: 76.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004193/1.957, allocations: 2.585 MB / 0.6183 GB, free: 75.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/1.964, allocations: 4.947 MB / 0.6232 GB, free: 70.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.975, allocations: 8.011 MB / 0.631 GB, free: 64.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.975, allocations: 24.84 kB / 0.631 GB, free: 64.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01972/1.995, allocations: 8.694 MB / 0.6395 GB, free: 55.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/1.995, allocations: 36 kB / 0.6395 GB, free: 55.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.995, allocations: 80 kB / 0.6396 GB, free: 55.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/1.999, allocations: 1.211 MB / 0.6408 GB, free: 54.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/2.005, allocations: 1.228 MB / 0.642 GB, free: 53.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/2.02, allocations: 9.133 MB / 0.6509 GB, free: 44.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/2.027, allocations: 331.4 kB / 0.6512 GB, free: 43.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/2.029, allocations: 288 kB / 0.6515 GB, free: 43.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01154/2.04, allocations: 3.736 MB / 0.6552 GB, free: 39.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/2.043, allocations: 379.2 kB / 0.6555 GB, free: 39.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/2.057, allocations: 5.855 MB / 0.6612 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008764/2.066, allocations: 4.818 MB / 0.6659 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-05/2.066, allocations: 8 kB / 0.666 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/2.066, allocations: 19.94 kB / 0.666 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03144/2.097, allocations: 13.79 MB / 0.6794 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/2.097, allocations: 4 kB / 0.6794 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/2.1, allocations: 0.5617 MB / 0.68 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/2.103, allocations: 1.079 MB / 0.681 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00046/2.103, allocations: 75.97 kB / 0.6811 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/2.115, allocations: 8.064 MB / 0.689 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/2.115, allocations: 7.938 kB / 0.689 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/2.131, allocations: 8.586 MB / 0.6974 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003363/2.135, allocations: 0.871 MB / 0.6982 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/2.136, allocations: 64.06 kB / 0.6983 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/2.138, allocations: 183.7 kB / 0.6985 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007817/2.139, allocations: 222.7 kB / 0.6987 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/2.139, allocations: 99.98 kB / 0.6988 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006153/2.145, allocations: 2.585 MB / 0.7013 GB, free: 8.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.31e-07/2.145, allocations: 4 kB / 0.7013 GB, free: 8.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01108/2.156, allocations: 1.548 MB / 0.7028 GB, free: 6.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/2.158, allocations: 251.5 kB / 0.7031 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.3257/2.484, allocations: 6.572 MB / 0.7095 GB, free: 150.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/2.484, allocations: 1.219 kB / 0.7095 GB, free: 150.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008859/2.493, allocations: 2.981 MB / 0.7124 GB, free: 150.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/2.499, allocations: 0.8853 MB / 0.7133 GB, free: 150.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/2.541, allocations: 20.03 MB / 0.7328 GB, free: 140.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007686/2.549, allocations: 6.037 MB / 0.7387 GB, free: 138.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/2.551, allocations: 354.3 kB / 0.739 GB, free: 138.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.903e-06/2.551, allocations: 0 / 0.739 GB, free: 138.2 MB / 462.1 MB Notification: Performance of Templates: time 0.5754/3.126, allocations: 156.9 MB / 0.8923 GB, free: 138.2 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1