Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 91.61 kB / 16.95 MB, free: 5.543 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.001034/0.001034, allocations: 189.3 kB / 17.85 MB, free: 5.223 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.729/1.729, allocations: 223.2 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003958, allocations: 8 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.3162/0.4796, allocations: 21.61 MB / 373.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.4997, allocations: 7.208 MB / 380.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/0.505, allocations: 166 kB / 380.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005276/0.5103, allocations: 1.334 MB / 382.2 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.52, allocations: 2.456 MB / 384.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.5243, allocations: 1.237 MB / 385.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02266/0.547, allocations: 13.5 MB / 399.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04523/0.5923, allocations: 19.32 MB / 418.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/0.6032, allocations: 4.35 MB / 423.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.6155, allocations: 4.797 MB / 427.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003801/0.6194, allocations: 0.6602 MB / 428.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008661/0.6281, allocations: 1.046 MB / 429.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004759/0.6329, allocations: 2.06 MB / 431.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006577/0.6395, allocations: 2.133 MB / 433.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0263/0.6658, allocations: 19.6 MB / 453.4 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6658, allocations: 4 kB / 453.4 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6659, allocations: 0 / 453.4 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008883/0.6668, allocations: 0 / 453.4 MB, free: 476 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03834/0.7051, allocations: 11.34 MB / 464.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7052, allocations: 8.031 kB / 464.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03398/0.7392, allocations: 6.234 MB / 471 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/0.7569, allocations: 6.997 MB / 477.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009566/0.7579, allocations: 0.7264 MB / 478.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004863/0.7628, allocations: 0.9491 MB / 479.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05725/0.8201, allocations: 16.08 MB / 495.7 MB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006053/0.8207, allocations: 11.81 kB / 495.7 MB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004645/0.8254, allocations: 404 kB / 496.1 MB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000762/0.8262, allocations: 0.5553 MB / 496.7 MB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04087/0.8671, allocations: 15.05 MB / 0.4997 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6917/1.559, allocations: 52.73 MB / 0.5512 GB, free: 92.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/1.58, allocations: 20.09 MB / 0.5708 GB, free: 75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007543/1.588, allocations: 3.685 MB / 0.5744 GB, free: 73.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/1.588, allocations: 183.2 kB / 0.5746 GB, free: 72.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/1.589, allocations: 81.53 kB / 0.5747 GB, free: 72.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=453): time 9.958e-06/1.589, allocations: 0 / 0.5747 GB, free: 72.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.06601/1.655, allocations: 22.9 MB / 0.597 GB, free: 59.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/1.655, allocations: 94.97 kB / 0.5971 GB, free: 59.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.665, allocations: 4.465 MB / 0.6015 GB, free: 54.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/1.666, allocations: 97.7 kB / 0.6016 GB, free: 54.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002779/1.669, allocations: 4.184 MB / 0.6057 GB, free: 50.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/1.671, allocations: 1.556 MB / 0.6072 GB, free: 48.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/1.672, allocations: 124 kB / 0.6073 GB, free: 48.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003592/1.672, allocations: 0.5546 MB / 0.6079 GB, free: 48.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/1.677, allocations: 3.077 MB / 0.6109 GB, free: 45.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005734/1.683, allocations: 5.238 MB / 0.616 GB, free: 38.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005743/1.689, allocations: 4.269 MB / 0.6201 GB, free: 34.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-05/1.689, allocations: 22.08 kB / 0.6202 GB, free: 34.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01539/1.704, allocations: 9.874 MB / 0.6298 GB, free: 24.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/1.705, allocations: 36 kB / 0.6298 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.705, allocations: 71.98 kB / 0.6299 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/1.708, allocations: 1.374 MB / 0.6313 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/1.713, allocations: 1.392 MB / 0.6326 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.728, allocations: 11.66 MB / 0.644 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/1.734, allocations: 355.5 kB / 0.6443 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.736, allocations: 292 kB / 0.6446 GB, free: 9.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01055/1.747, allocations: 3.888 MB / 0.6484 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/1.749, allocations: 458.3 kB / 0.6488 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/1.769, allocations: 8.569 MB / 0.6572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01293/1.782, allocations: 6.28 MB / 0.6634 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.193e-05/1.782, allocations: 12 kB / 0.6634 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.199e-05/1.782, allocations: 23.86 kB / 0.6634 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03946/1.822, allocations: 17.72 MB / 0.6807 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/1.822, allocations: 15.98 kB / 0.6807 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/1.825, allocations: 0.8035 MB / 0.6815 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.829, allocations: 1.278 MB / 0.6827 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006212/1.829, allocations: 99.97 kB / 0.6828 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/1.845, allocations: 10.56 MB / 0.6931 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.845, allocations: 11.94 kB / 0.6932 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3955/2.24, allocations: 11.25 MB / 0.7041 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004823/2.245, allocations: 1.102 MB / 0.7052 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/2.246, allocations: 92.8 kB / 0.7053 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/2.249, allocations: 245.9 kB / 0.7055 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/2.25, allocations: 327 kB / 0.7059 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/2.251, allocations: 139 kB / 0.706 GB, free: 148.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006104/2.257, allocations: 3.076 MB / 0.709 GB, free: 147.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/2.257, allocations: 0 / 0.709 GB, free: 147.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008506/2.265, allocations: 1.724 MB / 0.7107 GB, free: 147.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/2.267, allocations: 0.5423 MB / 0.7112 GB, free: 147.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0143/2.281, allocations: 8.005 MB / 0.719 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/2.281, allocations: 0 / 0.719 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00648/2.288, allocations: 3.989 MB / 0.7229 GB, free: 142.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/2.293, allocations: 1.003 MB / 0.7239 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/2.334, allocations: 21.26 MB / 0.7447 GB, free: 130.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01286/2.347, allocations: 6.321 MB / 0.7508 GB, free: 128.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002943/2.35, allocations: 428.3 kB / 0.7512 GB, free: 127.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.876e-06/2.35, allocations: 0 / 0.7512 GB, free: 127.8 MB / 478.1 MB Notification: Performance of Templates: time 0.5987/2.949, allocations: 226.3 MB / 0.9723 GB, free: 76.29 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1