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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001326/0.001326, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001875/0.001875, allocations: 59.91 kB / 280.7 MB, free: 3.543 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1505, allocations: 46.62 MB / 327.3 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03152/0.1821, allocations: 26.61 MB / 353.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02275/0.2049, allocations: 7.935 MB / 361.8 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0094/0.2143, allocations: 159.4 kB / 362 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0232/0.2376, allocations: 8.854 MB / 370.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01693/0.2546, allocations: 3.104 MB / 373.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008499/0.2631, allocations: 1.716 MB / 375.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.37/0.6331, allocations: 12.41 MB / 388.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04269/0.6759, allocations: 20.26 MB / 408.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01521/0.6912, allocations: 5.657 MB / 414 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/0.7122, allocations: 7.461 MB / 421.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007917/0.7202, allocations: 1.219 MB / 422.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.7314, allocations: 1.579 MB / 424.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009119/0.7406, allocations: 3.023 MB / 427.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02077/0.7614, allocations: 6.345 MB / 433.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03198/0.7934, allocations: 21.55 MB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.7935, allocations: 0 / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.7935, allocations: 0 / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001045/0.7946, allocations: 0 / 455.2 MB, free: 14.67 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.06535/0.86, allocations: 14.76 MB / 469.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.374e-05/0.8601, allocations: 8.031 kB / 469.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05484/0.9149, allocations: 9.416 MB / 479.3 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/0.937, allocations: 6.877 MB / 486.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/0.9382, allocations: 0.8238 MB / 487 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006669/0.9448, allocations: 1.079 MB / 488.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06795/1.013, allocations: 18.77 MB / 0.495 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009054/1.014, allocations: 15.81 kB / 0.495 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007094/1.021, allocations: 462 kB / 0.4955 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/1.022, allocations: 0.6911 MB / 0.4961 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05111/1.073, allocations: 18.22 MB / 0.5139 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5989/1.672, allocations: 60 MB / 0.5725 GB, free: 113.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03575/1.708, allocations: 46.73 MB / 0.6182 GB, free: 69.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007671/1.716, allocations: 4.323 MB / 0.6224 GB, free: 67.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/1.738, allocations: 12.47 MB / 0.6346 GB, free: 58.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.738, allocations: 70.27 kB / 0.6346 GB, free: 58.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 6.512e-06/1.738, allocations: 0 / 0.6346 GB, free: 58.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04201/1.78, allocations: 19.44 MB / 0.6536 GB, free: 42.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/1.78, allocations: 90.5 kB / 0.6537 GB, free: 42.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007005/1.787, allocations: 4.339 MB / 0.6579 GB, free: 38.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005318/1.787, allocations: 85.7 kB / 0.658 GB, free: 38.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.79, allocations: 4.817 MB / 0.6627 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/1.792, allocations: 1.367 MB / 0.6641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001741/1.793, allocations: 1.278 MB / 0.6653 GB, free: 30.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/1.793, allocations: 309.1 kB / 0.6656 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/1.797, allocations: 3.151 MB / 0.6687 GB, free: 27.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/1.803, allocations: 5.774 MB / 0.6743 GB, free: 20.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.814, allocations: 9.518 MB / 0.6836 GB, free: 9.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.173e-05/1.814, allocations: 24 kB / 0.6836 GB, free: 9.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01781/1.832, allocations: 10.32 MB / 0.6937 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.832, allocations: 40 kB / 0.6937 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.832, allocations: 95.92 kB / 0.6938 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/1.837, allocations: 1.398 MB / 0.6952 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006352/1.843, allocations: 1.462 MB / 0.6966 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.863, allocations: 10.57 MB / 0.707 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007458/1.871, allocations: 399.3 kB / 0.7073 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.872, allocations: 336 kB / 0.7077 GB, free: 0.6289 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3375/2.21, allocations: 4.177 MB / 0.7117 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/2.212, allocations: 443.6 kB / 0.7122 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/2.229, allocations: 7.404 MB / 0.7194 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01188/2.241, allocations: 6.079 MB / 0.7253 GB, free: 142.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-05/2.241, allocations: 11.81 kB / 0.7253 GB, free: 142.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/2.241, allocations: 21.66 kB / 0.7254 GB, free: 142.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/2.279, allocations: 16.45 MB / 0.7414 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/2.279, allocations: 8.125 kB / 0.7414 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003147/2.282, allocations: 0.7228 MB / 0.7421 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/2.285, allocations: 1.251 MB / 0.7434 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004218/2.286, allocations: 87.05 kB / 0.7434 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/2.3, allocations: 9.306 MB / 0.7525 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.3, allocations: 0 / 0.7525 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/2.317, allocations: 10.63 MB / 0.7629 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/2.321, allocations: 1.051 MB / 0.7639 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/2.322, allocations: 68 kB / 0.764 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/2.326, allocations: 255.7 kB / 0.7642 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009419/2.327, allocations: 271.5 kB / 0.7645 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/2.328, allocations: 116 kB / 0.7646 GB, free: 120.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006919/2.334, allocations: 2.903 MB / 0.7674 GB, free: 117.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.334, allocations: 0 / 0.7674 GB, free: 117.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009194/2.344, allocations: 1.848 MB / 0.7693 GB, free: 115.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009643/2.345, allocations: 260.5 kB / 0.7695 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01442/2.359, allocations: 7.982 MB / 0.7773 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.359, allocations: 0 / 0.7773 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006712/2.366, allocations: 3.684 MB / 0.7809 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008743/2.375, allocations: 1.019 MB / 0.7819 GB, free: 102.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04703/2.422, allocations: 23.3 MB / 0.8046 GB, free: 79.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007198/2.429, allocations: 6.832 MB / 0.8113 GB, free: 72.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/2.431, allocations: 419.3 kB / 0.8117 GB, free: 72.29 MB / 462.1 MB Notification: Performance of SimCode: time 2.144e-06/2.431, allocations: 0 / 0.8117 GB, free: 72.29 MB / 462.1 MB Notification: Performance of Templates: time 0.6075/3.039, allocations: 179.6 MB / 0.9871 GB, free: 45.44 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1