Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009285, allocations: 95.06 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.3 MB / 246.6 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002672, allocations: 4 kB / 307.3 MB, free: 1.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01637/0.1534, allocations: 12.55 MB / 371.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3522/0.5057, allocations: 4.295 MB / 375.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.51, allocations: 76.94 kB / 375.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004836/0.5149, allocations: 0.7619 MB / 376.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.5222, allocations: 1.056 MB / 377.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.5261, allocations: 0.6474 MB / 378.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.5373, allocations: 4.137 MB / 382.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006026/0.5434, allocations: 2.207 MB / 384.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004904/0.5484, allocations: 1.307 MB / 385.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005938/0.5544, allocations: 1.616 MB / 387.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002141/0.5566, allocations: 210.8 kB / 387.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.5611, allocations: 422.6 kB / 388.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.5641, allocations: 0.7441 MB / 388.8 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003673/0.5678, allocations: 0.7506 MB / 389.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.5797, allocations: 5.51 MB / 395.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.5797, allocations: 5.109 kB / 395.1 MB, free: 3.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5797, allocations: 0 / 395.1 MB, free: 3.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004156/0.5802, allocations: 0 / 395.1 MB, free: 3.445 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.01846/0.5986, allocations: 3.772 MB / 398.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001158/0.5988, allocations: 13.62 kB / 398.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.6056, allocations: 0.8354 MB / 399.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009587/0.6152, allocations: 2.282 MB / 402 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/0.6159, allocations: 247.6 kB / 402.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/0.6184, allocations: 326.6 kB / 402.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.6375, allocations: 4.243 MB / 406.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/0.6378, allocations: 11.89 kB / 406.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/0.6395, allocations: 130 kB / 406.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002691/0.6398, allocations: 154.4 kB / 407.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.6519, allocations: 3.578 MB / 410.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04156/0.6936, allocations: 14.02 MB / 424.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/0.7026, allocations: 6.659 MB / 431.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/0.7058, allocations: 1.403 MB / 432.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/0.7158, allocations: 3.906 MB / 436.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.525e-05/0.716, allocations: 55.81 kB / 436.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 4.628e-06/0.716, allocations: 0 / 436.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01672/0.7327, allocations: 5.945 MB / 442.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.7329, allocations: 68.72 kB / 442.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005496/0.7384, allocations: 1.784 MB / 444.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.7386, allocations: 49.7 kB / 444.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.7403, allocations: 1.454 MB / 446 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006137/0.741, allocations: 473.6 kB / 446.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.7411, allocations: 36 kB / 446.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.7413, allocations: 377.9 kB / 446.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7427, allocations: 0.6715 MB / 447.5 MB, free: 1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.7444, allocations: 1.197 MB / 448.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7459, allocations: 0.9003 MB / 449.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.7459, allocations: 4 kB / 449.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004952/0.7508, allocations: 2.53 MB / 452.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.7509, allocations: 12.34 kB / 452.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7509, allocations: 20 kB / 452.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.752, allocations: 364.1 kB / 452.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.7533, allocations: 375.4 kB / 452.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008993/0.7624, allocations: 7.678 MB / 460.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.765, allocations: 83.91 kB / 460.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.7652, allocations: 79.98 kB / 460.8 MB, free: 2.977 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.002996/0.7683, allocations: 1.009 MB / 461.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007788/0.769, allocations: 193.6 kB / 462 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/0.7745, allocations: 2.29 MB / 464.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.7746, allocations: 14.41 kB / 464.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.7746, allocations: 11.98 kB / 464.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.7747, allocations: 7.938 kB / 464.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7884, allocations: 5.083 MB / 469.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.7885, allocations: 0 / 469.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/0.7894, allocations: 175.8 kB / 469.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.7911, allocations: 0.5321 MB / 470.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.7912, allocations: 39.98 kB / 470.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.8099, allocations: 12.09 MB / 482.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.81, allocations: 0 / 482.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008169/0.8182, allocations: 3.216 MB / 485.4 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/0.8203, allocations: 426.6 kB / 485.8 MB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/0.8214, allocations: 40 kB / 485.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.8231, allocations: 63.95 kB / 485.9 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004316/0.8236, allocations: 105.2 kB / 486 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.8237, allocations: 44.03 kB / 486.1 MB, free: 8.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003948/0.8277, allocations: 1.22 MB / 487.3 MB, free: 7.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8277, allocations: 0 / 487.3 MB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004392/0.8321, allocations: 0.59 MB / 487.9 MB, free: 6.77 MB / 398.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.0006466/0.8328, allocations: 173.5 kB / 488.1 MB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004945/0.8378, allocations: 2.359 MB / 490.4 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.8378, allocations: 0 / 490.4 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/0.8408, allocations: 1.728 MB / 492.1 MB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/0.8457, allocations: 0.5366 MB / 492.7 MB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.863, allocations: 7.046 MB / 499.7 MB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.8655, allocations: 2.265 MB / 0.4902 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007201/0.8662, allocations: 139.4 kB / 0.4904 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 1.522e-06/0.8662, allocations: 0 / 0.4904 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Templates: time 0.4436/1.31, allocations: 128.8 MB / 0.6162 GB, free: 77.27 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_SteinmetzCalcHelperMain.o] Error 1