Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 93.27 kB / 16.95 MB, free: 5.582 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.001276/0.001276, allocations: 190.8 kB / 17.85 MB, free: 5.258 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.554/1.554, allocations: 223.2 MB / 241.8 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 12 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 50.41 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01556/0.1653, allocations: 11.99 MB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1769, allocations: 4.102 MB / 368 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003916/0.1809, allocations: 71.75 kB / 368 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004205/0.1852, allocations: 0.7535 MB / 368.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006015/0.1912, allocations: 1.084 MB / 369.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.1942, allocations: 0.6064 MB / 370.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3194/0.5136, allocations: 4.037 MB / 374.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.518, allocations: 2.209 MB / 376.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.5217, allocations: 1.293 MB / 378 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004271/0.526, allocations: 1.615 MB / 379.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007516/0.5268, allocations: 206.8 kB / 379.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.5289, allocations: 397.6 kB / 380.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.5301, allocations: 0.7442 MB / 381 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.5319, allocations: 0.7407 MB / 381.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009405/0.5414, allocations: 5.485 MB / 387.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.5414, allocations: 5.062 kB / 387.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.5414, allocations: 0 / 387.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.5418, allocations: 0 / 387.2 MB, free: 7.977 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01584/0.5576, allocations: 3.743 MB / 391 MB, free: 5.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/0.5577, allocations: 9.469 kB / 391 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.5635, allocations: 0.8208 MB / 391.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/0.5691, allocations: 2.265 MB / 394 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.5694, allocations: 242.2 kB / 394.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.5701, allocations: 333.2 kB / 394.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00795/0.5781, allocations: 4.244 MB / 398.9 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/0.5782, allocations: 0 / 398.9 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.5785, allocations: 135.9 kB / 399 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.5786, allocations: 153.3 kB / 399.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.5843, allocations: 3.588 MB / 402.7 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.6061, allocations: 13.93 MB / 416.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/0.6126, allocations: 6.551 MB / 423.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.6149, allocations: 1.386 MB / 424.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006606/0.6215, allocations: 3.654 MB / 428.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.6216, allocations: 47.86 kB / 428.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=134): time 2.915e-06/0.6216, allocations: 6.516 kB / 428.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=137): time 0.01191/0.6335, allocations: 5.925 MB / 434.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.6336, allocations: 72.66 kB / 434.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.6365, allocations: 1.772 MB / 436.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.6366, allocations: 53.7 kB / 436.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.6377, allocations: 1.434 MB / 437.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.6382, allocations: 478.5 kB / 438 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.6383, allocations: 32 kB / 438 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6385, allocations: 373.9 kB / 438.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6396, allocations: 0.6793 MB / 439.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.641, allocations: 1.2 MB / 440.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.6424, allocations: 0.8964 MB / 441.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6424, allocations: 4 kB / 441.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004188/0.6466, allocations: 2.539 MB / 443.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.6467, allocations: 12 kB / 443.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.6467, allocations: 16 kB / 443.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009753/0.6477, allocations: 362.5 kB / 444.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.649, allocations: 379.4 kB / 444.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008214/0.6572, allocations: 7.675 MB / 452.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.6592, allocations: 79.83 kB / 452.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6593, allocations: 75.98 kB / 452.3 MB, free: 12.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.6618, allocations: 1.005 MB / 453.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.6623, allocations: 189.7 kB / 453.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.6662, allocations: 2.293 MB / 455.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6662, allocations: 16 kB / 455.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.6662, allocations: 8 kB / 455.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6662, allocations: 7.969 kB / 455.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008579/0.6748, allocations: 5.058 MB / 460.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6749, allocations: 4 kB / 460.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.6757, allocations: 183.9 kB / 461.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.6771, allocations: 0.538 MB / 461.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.6772, allocations: 35.98 kB / 461.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.6894, allocations: 12.07 MB / 473.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6895, allocations: 0 / 473.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005615/0.6951, allocations: 3.229 MB / 476.9 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.6964, allocations: 422.6 kB / 477.4 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6967, allocations: 35.94 kB / 477.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.6975, allocations: 71.95 kB / 477.5 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.6979, allocations: 101.2 kB / 477.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.698, allocations: 43.98 kB / 477.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.7001, allocations: 1.203 MB / 478.8 MB, free: 1.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7001, allocations: 4 kB / 478.8 MB, free: 1.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002712/0.7028, allocations: 0.5781 MB / 479.4 MB, free: 0.5547 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003933/0.7032, allocations: 170 kB / 479.6 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.7072, allocations: 2.339 MB / 481.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7072, allocations: 0 / 481.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.7099, allocations: 1.767 MB / 483.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.713, allocations: 0.5155 MB / 484.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.7258, allocations: 7.027 MB / 491.2 MB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.7281, allocations: 2.257 MB / 493.5 MB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.7289, allocations: 135.4 kB / 493.6 MB, free: 2.133 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.7289, allocations: 0 / 493.6 MB, free: 2.133 MB / 398.1 MB Notification: Performance of Templates: time 0.4339/1.163, allocations: 128 MB / 0.607 GB, free: 92.82 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.o] Error 1