Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 89.03 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.00141/0.00141, allocations: 197.6 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.589/1.589, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 4 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, 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_Inverter): time 0.01478/0.1461, allocations: 11.81 MB / 370.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3009/0.4471, allocations: 4.132 MB / 374.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.4501, allocations: 78.69 kB / 374.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.4534, allocations: 0.7387 MB / 375.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.4588, allocations: 1.027 MB / 376.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.4615, allocations: 0.6101 MB / 377.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00793/0.4694, allocations: 3.979 MB / 381.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004057/0.4735, allocations: 2.209 MB / 383.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.4772, allocations: 1.249 MB / 384.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.4816, allocations: 1.592 MB / 386.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.4826, allocations: 202.3 kB / 386.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.4854, allocations: 414.8 kB / 386.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4865, allocations: 0.742 MB / 387.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.4884, allocations: 0.7186 MB / 388.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008996/0.4974, allocations: 5.433 MB / 393.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4975, allocations: 10.44 kB / 393.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4975, allocations: 1.094 kB / 393.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003506/0.4978, allocations: 0 / 393.7 MB, free: 4.582 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01484/0.5127, allocations: 3.712 MB / 397.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5128, allocations: 10.31 kB / 397.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.5185, allocations: 0.8017 MB / 398.3 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006459/0.525, allocations: 2.244 MB / 400.5 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.5253, allocations: 233.8 kB / 400.7 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.5264, allocations: 315 kB / 401 MB, free: 0 / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009457/0.5359, allocations: 4.211 MB / 405.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/0.536, allocations: 0 / 405.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.5363, allocations: 130.4 kB / 405.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.5365, allocations: 154.3 kB / 405.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.5438, allocations: 3.612 MB / 409.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/0.5692, allocations: 13.32 MB / 422.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.5773, allocations: 7.17 MB / 429.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/0.5802, allocations: 1.584 MB / 431.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007986/0.5883, allocations: 4.212 MB / 435.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.5883, allocations: 55.5 kB / 435.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.038e-06/0.5883, allocations: 0 / 435.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01266/0.601, allocations: 5.653 MB / 441.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.6011, allocations: 68.34 kB / 441.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.6041, allocations: 1.703 MB / 442.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6042, allocations: 45.7 kB / 443 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.6053, allocations: 1.414 MB / 444.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.6057, allocations: 431.6 kB / 444.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.6058, allocations: 36 kB / 444.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.606, allocations: 369.9 kB / 445.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.6071, allocations: 0.652 MB / 445.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.6086, allocations: 1.133 MB / 447 MB, free: 1.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.61, allocations: 0.8652 MB / 447.8 MB, free: 468 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.61, allocations: 4 kB / 447.8 MB, free: 464 kB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004138/0.6141, allocations: 2.405 MB / 450.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.6142, allocations: 12 kB / 450.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.6142, allocations: 16 kB / 450.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/0.6151, allocations: 322 kB / 450.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6163, allocations: 355.5 kB / 450.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.6226, allocations: 6.124 MB / 457.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.6244, allocations: 84.02 kB / 457.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6246, allocations: 71.92 kB / 457.2 MB, free: 6.637 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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: 3 * 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: 3 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002798/0.6274, allocations: 0.997 MB / 458.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.6278, allocations: 181.8 kB / 458.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.632, allocations: 2.225 MB / 460.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.632, allocations: 12 kB / 460.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.6321, allocations: 7.984 kB / 460.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6321, allocations: 7.984 kB / 460.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009906/0.642, allocations: 4.961 MB / 465.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.642, allocations: 0 / 465.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.6428, allocations: 175.8 kB / 465.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.6441, allocations: 495.8 kB / 466.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.6442, allocations: 38.34 kB / 466.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.6561, allocations: 10.52 MB / 476.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.6561, allocations: 0 / 476.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006275/0.6624, allocations: 3.111 MB / 479.9 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.664, allocations: 410.7 kB / 480.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008733/0.6649, allocations: 35.98 kB / 480.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.6664, allocations: 67.95 kB / 480.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.6667, allocations: 104.8 kB / 480.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6669, allocations: 35.98 kB / 480.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003122/0.67, allocations: 1.182 MB / 481.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.67, allocations: 0 / 481.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00393/0.674, allocations: 0.547 MB / 482.3 MB, free: 12.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (83): * Single equations (assignments): 78 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006554/0.6746, allocations: 157.1 kB / 482.4 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004401/0.679, allocations: 2.149 MB / 484.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6791, allocations: 4 kB / 484.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.6819, allocations: 1.557 MB / 486.2 MB, free: 8.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/0.686, allocations: 0.4955 MB / 486.7 MB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.7035, allocations: 6.647 MB / 493.3 MB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/0.7068, allocations: 2.239 MB / 495.5 MB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007166/0.7075, allocations: 135.4 kB / 495.7 MB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7075, allocations: 4 kB / 495.7 MB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.4427/1.15, allocations: 109.3 MB / 0.5908 GB, free: 105.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.o] Error 1