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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.92 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.00107/0.00107, allocations: 182 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.523/1.523, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 301.5 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 50.42 MB / 351.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.3314/0.4787, allocations: 28.74 MB / 380.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02417/0.5029, allocations: 8.318 MB / 389 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01201/0.515, allocations: 223 kB / 389.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00893/0.524, allocations: 1.631 MB / 390.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.54, allocations: 3.028 MB / 393.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007272/0.5473, allocations: 1.371 MB / 395.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02969/0.577, allocations: 15.64 MB / 410.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04416/0.6212, allocations: 17.59 MB / 428.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/0.6367, allocations: 4.777 MB / 433.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01444/0.6512, allocations: 5.429 MB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004864/0.6561, allocations: 0.7266 MB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008712/0.6649, allocations: 1.066 MB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006519/0.6714, allocations: 2.351 MB / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008073/0.6795, allocations: 2.395 MB / 445.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03222/0.7118, allocations: 21.05 MB / 466.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.7119, allocations: 0 / 466.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.7119, allocations: 0 / 466.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009438/0.7128, allocations: 0 / 466.2 MB, free: 3.629 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0446/0.7575, allocations: 12.37 MB / 478.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7576, allocations: 8.031 kB / 478.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03874/0.7963, allocations: 6.771 MB / 485.4 MB, free: 352 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/0.8182, allocations: 7.751 MB / 493.1 MB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009774/0.8192, allocations: 0.7908 MB / 493.9 MB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005398/0.8246, allocations: 1.054 MB / 495 MB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05129/0.8759, allocations: 17.14 MB / 0.5001 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.8763, allocations: 15.81 kB / 0.5001 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002765/0.8791, allocations: 440 kB / 0.5006 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000636/0.8797, allocations: 0.6314 MB / 0.5012 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03859/0.9183, allocations: 16.23 MB / 0.517 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.312, allocations: 55.94 MB / 0.5717 GB, free: 81.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.334, allocations: 31.04 MB / 0.602 GB, free: 52.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006592/1.34, allocations: 4.347 MB / 0.6062 GB, free: 49.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/1.357, allocations: 10.47 MB / 0.6164 GB, free: 39.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/1.357, allocations: 81.8 kB / 0.6165 GB, free: 39.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.991e-06/1.357, allocations: 3.938 kB / 0.6165 GB, free: 39.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=423): time 0.04963/1.407, allocations: 23.48 MB / 0.6395 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/1.407, allocations: 128.6 kB / 0.6396 GB, free: 15.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00734/1.414, allocations: 4.634 MB / 0.6441 GB, free: 10.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009854/1.415, allocations: 97.7 kB / 0.6442 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.418, allocations: 4.658 MB / 0.6487 GB, free: 5.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.42, allocations: 1.448 MB / 0.6502 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/1.42, allocations: 120 kB / 0.6503 GB, free: 4.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003256/1.42, allocations: 0.5383 MB / 0.6508 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.424, allocations: 2.893 MB / 0.6536 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/1.431, allocations: 4.934 MB / 0.6584 GB, free: 10.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/1.437, allocations: 3.934 MB / 0.6623 GB, free: 7.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-05/1.438, allocations: 20 kB / 0.6623 GB, free: 7.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02147/1.459, allocations: 9.693 MB / 0.6718 GB, free: 13.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.459, allocations: 36.03 kB / 0.6718 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.459, allocations: 64 kB / 0.6719 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/1.465, allocations: 1.671 MB / 0.6735 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006231/1.471, allocations: 1.322 MB / 0.6748 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/1.497, allocations: 16.47 MB / 0.6909 GB, free: 9.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.504, allocations: 335.6 kB / 0.6912 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.506, allocations: 280 kB / 0.6915 GB, free: 8.566 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01193/1.518, allocations: 3.884 MB / 0.6952 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/1.52, allocations: 497.9 kB / 0.6957 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3574/1.878, allocations: 7.788 MB / 0.7033 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/1.878, allocations: 45.25 kB / 0.7034 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.826e-05/1.878, allocations: 16.75 kB / 0.7034 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/1.878, allocations: 22.78 kB / 0.7034 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0472/1.925, allocations: 17.45 MB / 0.7205 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/1.925, allocations: 7.844 kB / 0.7205 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/1.929, allocations: 0.7264 MB / 0.7212 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/1.933, allocations: 1.547 MB / 0.7227 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.934, allocations: 110 kB / 0.7228 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/1.956, allocations: 19.49 MB / 0.7418 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.956, allocations: 7.875 kB / 0.7418 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/1.976, allocations: 11.42 MB / 0.753 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/1.98, allocations: 1.16 MB / 0.7541 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.982, allocations: 95.73 kB / 0.7542 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/1.986, allocations: 236.6 kB / 0.7544 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.987, allocations: 332.5 kB / 0.7547 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.987, allocations: 127.5 kB / 0.7549 GB, free: 124.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006476/1.993, allocations: 3.138 MB / 0.7579 GB, free: 122.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.994, allocations: 2 kB / 0.7579 GB, free: 122.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01202/2.006, allocations: 1.862 MB / 0.7598 GB, free: 120.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.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 (364): * Single equations (assignments): 357 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/2.007, allocations: 270.3 kB / 0.76 GB, free: 120.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0157/2.023, allocations: 8.063 MB / 0.7679 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/2.023, allocations: 4 kB / 0.7679 GB, free: 112.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009834/2.033, allocations: 4.651 MB / 0.7724 GB, free: 107.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/2.044, allocations: 1.25 MB / 0.7737 GB, free: 106.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/2.096, allocations: 22.69 MB / 0.7958 GB, free: 83.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01192/2.108, allocations: 6.566 MB / 0.8022 GB, free: 77.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/2.11, allocations: 427.3 kB / 0.8026 GB, free: 76.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/2.111, allocations: 0 / 0.8026 GB, free: 76.8 MB / 478.1 MB Notification: Performance of Templates: time 1.546/3.657, allocations: 459.3 MB / 1.251 GB, free: 161.5 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_InitializeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1