Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 90.08 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 197 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.703/1.703, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002806, allocations: 7.984 kB / 307.3 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1342, allocations: 51.49 MB / 358.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2852/0.4195, allocations: 34.03 MB / 392.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02825/0.4478, allocations: 9.533 MB / 402.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/0.4598, allocations: 267.7 kB / 402.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.4705, allocations: 1.894 MB / 404.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0197/0.4902, allocations: 3.355 MB / 407.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009574/0.4998, allocations: 1.603 MB / 409.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03603/0.5359, allocations: 18.97 MB / 428.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05942/0.5953, allocations: 24.64 MB / 453.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.017/0.6124, allocations: 6.093 MB / 459.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01679/0.6292, allocations: 6.903 MB / 466.1 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008107/0.6374, allocations: 0.9375 MB / 467 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.6497, allocations: 1.332 MB / 468.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008832/0.6586, allocations: 2.978 MB / 471.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.6703, allocations: 3.084 MB / 474.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04351/0.7138, allocations: 27.08 MB / 0.4898 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.714, allocations: 0 / 0.4898 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.941e-06/0.714, allocations: 0 / 0.4898 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001461/0.7155, allocations: 0 / 0.4898 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.0592/0.7747, allocations: 15.79 MB / 0.5052 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.7748, allocations: 8.031 kB / 0.5052 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04683/0.8216, allocations: 8.32 MB / 0.5133 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02707/0.8487, allocations: 9.781 MB / 0.5229 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001654/0.8504, allocations: 1.064 MB / 0.5239 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008352/0.8588, allocations: 1.402 MB / 0.5253 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7101/1.569, allocations: 22.66 MB / 0.5474 GB, free: 110.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001509/1.571, allocations: 28.77 kB / 0.5474 GB, free: 110.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009706/1.58, allocations: 0.5763 MB / 0.548 GB, free: 110.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/1.582, allocations: 0.7731 MB / 0.5487 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06648/1.649, allocations: 20.93 MB / 0.5692 GB, free: 101.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/1.816, allocations: 73.74 MB / 0.6412 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03535/1.852, allocations: 42.68 MB / 0.6829 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01163/1.863, allocations: 5.284 MB / 0.688 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03585/1.899, allocations: 13.11 MB / 0.7008 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/1.9, allocations: 98.75 kB / 0.7009 GB, free: 14.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 6.943e-06/1.9, allocations: 3.938 kB / 0.7009 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.5255/2.425, allocations: 28.95 MB / 0.7292 GB, free: 146.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/2.425, allocations: 134.3 kB / 0.7293 GB, free: 146.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/2.439, allocations: 5.732 MB / 0.7349 GB, free: 144.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001347/2.441, allocations: 111.6 kB / 0.735 GB, free: 144.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005559/2.446, allocations: 6.157 MB / 0.741 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002791/2.449, allocations: 1.748 MB / 0.7428 GB, free: 138.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/2.45, allocations: 151.5 kB / 0.7429 GB, free: 138.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004237/2.45, allocations: 0.6084 MB / 0.7435 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/2.456, allocations: 3.651 MB / 0.7471 GB, free: 136.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007716/2.463, allocations: 6.495 MB / 0.7534 GB, free: 131.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/2.471, allocations: 5.039 MB / 0.7583 GB, free: 129.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-05/2.472, allocations: 27.75 kB / 0.7583 GB, free: 129.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02455/2.496, allocations: 12.13 MB / 0.7702 GB, free: 124.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/2.496, allocations: 50.42 kB / 0.7702 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/2.496, allocations: 91.97 kB / 0.7703 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00406/2.5, allocations: 1.597 MB / 0.7719 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006542/2.507, allocations: 1.665 MB / 0.7735 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/2.527, allocations: 18.2 MB / 0.7913 GB, free: 107.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00751/2.534, allocations: 435.8 kB / 0.7917 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/2.536, allocations: 366.9 kB / 0.7921 GB, free: 107 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01192/2.548, allocations: 5.188 MB / 0.7971 GB, free: 102.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/2.55, allocations: 0.5928 MB / 0.7977 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/2.565, allocations: 9.457 MB / 0.8069 GB, free: 92.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008159/2.573, allocations: 5.924 MB / 0.8127 GB, free: 86.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-05/2.574, allocations: 23.98 kB / 0.8127 GB, free: 86.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.763e-05/2.574, allocations: 31.89 kB / 0.8128 GB, free: 86.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/2.611, allocations: 21.13 MB / 0.8334 GB, free: 65.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/2.611, allocations: 11.75 kB / 0.8334 GB, free: 65.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/2.614, allocations: 0.8626 MB / 0.8343 GB, free: 64.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/2.618, allocations: 1.641 MB / 0.8359 GB, free: 63.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006339/2.619, allocations: 124 kB / 0.836 GB, free: 62.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/2.64, allocations: 21.33 MB / 0.8568 GB, free: 40.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/2.64, allocations: 8.156 kB / 0.8568 GB, free: 40.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/2.66, allocations: 13.84 MB / 0.8703 GB, free: 26.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/2.663, allocations: 1.372 MB / 0.8717 GB, free: 25.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/2.665, allocations: 100 kB / 0.8718 GB, free: 25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/2.668, allocations: 299.7 kB / 0.8721 GB, free: 24.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00086/2.668, allocations: 408.4 kB / 0.8724 GB, free: 24.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/2.669, allocations: 156 kB / 0.8726 GB, free: 24.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005855/2.675, allocations: 3.853 MB / 0.8764 GB, free: 20.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/2.675, allocations: 0 / 0.8764 GB, free: 20.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009807/2.684, allocations: 2.345 MB / 0.8786 GB, free: 17.99 MB / 494.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 (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,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/2.685, allocations: 323 kB / 0.879 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01632/2.702, allocations: 9.901 MB / 0.8886 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/2.702, allocations: 4 kB / 0.8886 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2897/2.992, allocations: 5.484 MB / 0.894 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01466/3.006, allocations: 1.571 MB / 0.8955 GB, free: 150.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07677/3.083, allocations: 29.39 MB / 0.9242 GB, free: 138.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02021/3.103, allocations: 8.574 MB / 0.9326 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002961/3.106, allocations: 0.5081 MB / 0.9331 GB, free: 135.4 MB / 494.1 MB Notification: Performance of SimCode: time 3.116e-06/3.106, allocations: 0 / 0.9331 GB, free: 135.4 MB / 494.1 MB Notification: Performance of Templates: time 1.864/4.971, allocations: 0.6671 GB / 1.6 GB, free: 47.22 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1