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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.00147, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001734/0.001734, allocations: 194 kB / 18.72 MB, free: 4.762 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.012/2.012, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001324/0.001324, allocations: 51.92 kB / 280.7 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1559, allocations: 46.63 MB / 327.3 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04897/0.2049, allocations: 37.64 MB / 364.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0366/0.2416, allocations: 9.92 MB / 374.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01659/0.2583, allocations: 239.1 kB / 375.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3908/0.6493, allocations: 9.549 MB / 384.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02468/0.674, allocations: 3.736 MB / 388.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/0.6877, allocations: 2.246 MB / 390.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04523/0.7329, allocations: 16.84 MB / 407.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0707/0.8037, allocations: 25.5 MB / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02726/0.8311, allocations: 7.223 MB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02797/0.8591, allocations: 8.917 MB / 449.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01168/0.8709, allocations: 1.539 MB / 450.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/0.8892, allocations: 1.932 MB / 452.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01387/0.9031, allocations: 3.954 MB / 456.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03672/0.9399, allocations: 8.332 MB / 464.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05531/0.9953, allocations: 27.82 MB / 492.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.9954, allocations: 0 / 492.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.9954, allocations: 0 / 492.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001861/0.9973, allocations: 0 / 492.7 MB, free: 10.04 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.08563/1.083, allocations: 18.93 MB / 0.4996 GB, free: 7.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/1.083, allocations: 8.031 kB / 0.4996 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05567/1.139, allocations: 9.236 MB / 0.5086 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03349/1.172, allocations: 9.113 MB / 0.5175 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002681/1.175, allocations: 1.078 MB / 0.5186 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01024/1.185, allocations: 1.415 MB / 0.52 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6982/1.884, allocations: 23.22 MB / 0.5426 GB, free: 126.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001716/1.885, allocations: 19.03 kB / 0.5427 GB, free: 126.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008684/1.894, allocations: 0.5879 MB / 0.5432 GB, free: 126.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/1.896, allocations: 0.8059 MB / 0.544 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06616/1.962, allocations: 21.7 MB / 0.5652 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1789/2.141, allocations: 74.18 MB / 0.6377 GB, free: 57.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03994/2.181, allocations: 53.58 MB / 0.69 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0117/2.193, allocations: 5.437 MB / 0.6953 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0363/2.229, allocations: 15.59 MB / 0.7105 GB, free: 8.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/2.229, allocations: 86.78 kB / 0.7106 GB, free: 8.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.545e-06/2.229, allocations: 3.938 kB / 0.7106 GB, free: 8.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.4086/2.638, allocations: 26.83 MB / 0.7368 GB, free: 147.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/2.638, allocations: 129 kB / 0.7369 GB, free: 147.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01382/2.652, allocations: 5.906 MB / 0.7427 GB, free: 145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001368/2.653, allocations: 109.5 kB / 0.7428 GB, free: 144.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004182/2.658, allocations: 6.284 MB / 0.7489 GB, free: 140.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002532/2.66, allocations: 1.755 MB / 0.7506 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002337/2.662, allocations: 1.529 MB / 0.7521 GB, free: 138.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/2.663, allocations: 305.1 kB / 0.7524 GB, free: 137.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/2.668, allocations: 3.726 MB / 0.7561 GB, free: 136.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007186/2.675, allocations: 6.81 MB / 0.7627 GB, free: 131 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/2.689, allocations: 11.22 MB / 0.7737 GB, free: 123.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002098/2.69, allocations: 31.03 kB / 0.7737 GB, free: 123.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02683/2.717, allocations: 12.48 MB / 0.7859 GB, free: 117.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/2.717, allocations: 52 kB / 0.7859 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003408/2.717, allocations: 100 kB / 0.786 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/2.722, allocations: 1.6 MB / 0.7876 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/2.73, allocations: 1.74 MB / 0.7893 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0252/2.755, allocations: 18.22 MB / 0.8071 GB, free: 97.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008264/2.763, allocations: 447.3 kB / 0.8075 GB, free: 97.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/2.766, allocations: 391.9 kB / 0.8079 GB, free: 97.07 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,54.9%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01445/2.78, allocations: 5.247 MB / 0.813 GB, free: 91.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003112/2.783, allocations: 0.6059 MB / 0.8136 GB, free: 91.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/2.805, allocations: 9.461 MB / 0.8229 GB, free: 81.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01065/2.816, allocations: 5.964 MB / 0.8287 GB, free: 75.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.737e-05/2.816, allocations: 16 kB / 0.8287 GB, free: 75.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/2.816, allocations: 32.55 kB / 0.8287 GB, free: 75.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0489/2.865, allocations: 21.22 MB / 0.8495 GB, free: 54.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/2.865, allocations: 4.781 kB / 0.8495 GB, free: 54.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003662/2.869, allocations: 0.8698 MB / 0.8503 GB, free: 53.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004621/2.873, allocations: 1.641 MB / 0.8519 GB, free: 51.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008514/2.874, allocations: 124 kB / 0.852 GB, free: 51.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/2.895, allocations: 21.37 MB / 0.8729 GB, free: 29.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/2.895, allocations: 11.94 kB / 0.8729 GB, free: 29.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/2.919, allocations: 13.86 MB / 0.8864 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3182/3.237, allocations: 1.366 MB / 0.8878 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003012/3.24, allocations: 108.3 kB / 0.8879 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005198/3.245, allocations: 285.6 kB / 0.8882 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/3.247, allocations: 410.7 kB / 0.8885 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005073/3.248, allocations: 155.9 kB / 0.8887 GB, free: 138.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01193/3.26, allocations: 3.964 MB / 0.8926 GB, free: 138.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.41e-07/3.26, allocations: 0 / 0.8926 GB, free: 138.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01864/3.279, allocations: 2.377 MB / 0.8949 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/3.281, allocations: 313.3 kB / 0.8952 GB, free: 138.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0213/3.302, allocations: 10.08 MB / 0.905 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/3.302, allocations: 3.969 kB / 0.905 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/3.312, allocations: 5.487 MB / 0.9104 GB, free: 133.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009197/3.322, allocations: 1.556 MB / 0.9119 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05889/3.38, allocations: 30.91 MB / 0.9421 GB, free: 115.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/3.391, allocations: 8.654 MB / 0.9505 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/3.394, allocations: 0.5171 MB / 0.951 GB, free: 111.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.693e-06/3.394, allocations: 0 / 0.951 GB, free: 111.1 MB / 478.1 MB Notification: Performance of Templates: time 2.288/5.682, allocations: 0.6733 GB / 1.624 GB, free: 154.8 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1