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_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 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_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.001107/0.001107, allocations: 98.47 kB / 17.96 MB, free: 5.77 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.001252/0.001252, allocations: 179.9 kB / 18.86 MB, free: 4.902 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.056/2.056, allocations: 205.4 MB / 225 MB, free: 13.06 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.0004974/0.0004974, allocations: 12 kB / 282.1 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 47.58 MB / 329.6 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03593/0.1732, allocations: 31.08 MB / 360.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02703/0.2003, allocations: 8.816 MB / 369.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01097/0.2113, allocations: 191.3 kB / 369.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.2229, allocations: 2.119 MB / 371.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.2411, allocations: 3.367 MB / 375.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009443/0.2505, allocations: 1.884 MB / 377.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2983/0.5489, allocations: 13.54 MB / 390.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03832/0.5872, allocations: 21.52 MB / 412.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.5978, allocations: 4.678 MB / 416.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01248/0.6103, allocations: 5.76 MB / 422.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005288/0.6156, allocations: 0.8151 MB / 423.4 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008092/0.6238, allocations: 1.098 MB / 424.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004952/0.6288, allocations: 2.453 MB / 427 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0149/0.6437, allocations: 5.722 MB / 432.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03029/0.674, allocations: 21.1 MB / 453.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6741, allocations: 0 / 453.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.6741, allocations: 0 / 453.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001155/0.6753, allocations: 0 / 453.8 MB, free: 2.336 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04375/0.719, allocations: 12.38 MB / 466.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.7191, allocations: 8.031 kB / 466.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04525/0.7644, allocations: 7.772 MB / 473.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/0.787, allocations: 7.308 MB / 481.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001639/0.7887, allocations: 0.8045 MB / 482.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006324/0.795, allocations: 1.072 MB / 483.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06125/0.8563, allocations: 17.68 MB / 0.4891 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008506/0.8572, allocations: 15 kB / 0.4891 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005518/0.8628, allocations: 452.5 kB / 0.4895 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009569/0.8638, allocations: 0.6553 MB / 0.4902 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04596/0.9098, allocations: 17 MB / 0.5068 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6682/1.578, allocations: 57.32 MB / 0.5627 GB, free: 114.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03879/1.617, allocations: 40.04 MB / 0.6019 GB, free: 80.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007919/1.625, allocations: 4.521 MB / 0.6063 GB, free: 78.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02024/1.645, allocations: 12.72 MB / 0.6187 GB, free: 70.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/1.645, allocations: 81.06 kB / 0.6188 GB, free: 70.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 4.869e-06/1.645, allocations: 3.281 kB / 0.6188 GB, free: 70.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.0478/1.693, allocations: 21.56 MB / 0.6398 GB, free: 57.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/1.693, allocations: 124.7 kB / 0.6399 GB, free: 57.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008487/1.702, allocations: 4.82 MB / 0.6446 GB, free: 52.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.703, allocations: 101.7 kB / 0.6447 GB, free: 52.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/1.706, allocations: 4.806 MB / 0.6494 GB, free: 47.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002202/1.708, allocations: 1.449 MB / 0.6508 GB, free: 45.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/1.709, allocations: 495.7 kB / 0.6513 GB, free: 45.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.552e-05/1.709, allocations: 304.5 kB / 0.6516 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/1.714, allocations: 2.975 MB / 0.6545 GB, free: 42.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.72, allocations: 5.248 MB / 0.6596 GB, free: 35.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.732, allocations: 8.741 MB / 0.6682 GB, free: 26.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.265e-05/1.732, allocations: 20 kB / 0.6682 GB, free: 26.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.021/1.753, allocations: 10.07 MB / 0.678 GB, free: 16.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/1.753, allocations: 36 kB / 0.6781 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/1.753, allocations: 72 kB / 0.6781 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004306/1.758, allocations: 1.673 MB / 0.6798 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/1.763, allocations: 1.396 MB / 0.6811 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/1.784, allocations: 16.49 MB / 0.6972 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/1.79, allocations: 347.7 kB / 0.6976 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.791, allocations: 299.9 kB / 0.6979 GB, free: 11.17 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01253/1.804, allocations: 3.955 MB / 0.7017 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/1.806, allocations: 0.4978 MB / 0.7022 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3331/2.139, allocations: 7.812 MB / 0.7098 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-05/2.14, allocations: 42.69 kB / 0.7099 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.461e-05/2.14, allocations: 17.16 kB / 0.7099 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001519/2.14, allocations: 25.36 kB / 0.7099 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04477/2.185, allocations: 17.56 MB / 0.7271 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/2.185, allocations: 3.938 kB / 0.7271 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003566/2.188, allocations: 0.7298 MB / 0.7278 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/2.193, allocations: 1.553 MB / 0.7293 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/2.194, allocations: 107.3 kB / 0.7294 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/2.216, allocations: 19.53 MB / 0.7485 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/2.216, allocations: 3.906 kB / 0.7485 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/2.238, allocations: 11.49 MB / 0.7597 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004732/2.242, allocations: 1.18 MB / 0.7608 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/2.245, allocations: 82.16 kB / 0.7609 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004768/2.25, allocations: 245.6 kB / 0.7612 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001583/2.251, allocations: 335 kB / 0.7615 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008122/2.252, allocations: 126.8 kB / 0.7616 GB, free: 116.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008756/2.261, allocations: 3.253 MB / 0.7648 GB, free: 115.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.261, allocations: 0 / 0.7648 GB, free: 115.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01367/2.275, allocations: 1.898 MB / 0.7666 GB, free: 115.1 MB / 462.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.strayReluctance.Phi.re,imc.stator.strayReluctance.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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/2.277, allocations: 277.7 kB / 0.7669 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01799/2.295, allocations: 8.229 MB / 0.7749 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/2.295, allocations: 8.859 kB / 0.7749 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009765/2.304, allocations: 4.668 MB / 0.7795 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/2.32, allocations: 1.245 MB / 0.7807 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05389/2.374, allocations: 24.15 MB / 0.8043 GB, free: 78.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007561/2.382, allocations: 6.636 MB / 0.8108 GB, free: 71.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/2.384, allocations: 435.3 kB / 0.8112 GB, free: 71.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/2.384, allocations: 4 kB / 0.8112 GB, free: 71.46 MB / 462.1 MB Notification: Performance of Templates: time 1.535/3.918, allocations: 464.1 MB / 1.264 GB, free: 150.4 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1