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_Inverter.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009654, 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.00114/0.00114, 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.567/1.567, allocations: 223.2 MB / 241.8 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01317/0.1483, allocations: 11.28 MB / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1585, allocations: 3.927 MB / 367.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.1609, allocations: 67.75 kB / 367.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.1635, allocations: 0.7303 MB / 367.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.1676, allocations: 1.053 MB / 368.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.1695, allocations: 0.5761 MB / 369.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.315/0.4846, allocations: 3.868 MB / 373.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007641/0.4922, allocations: 2.212 MB / 375.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.498, allocations: 1.243 MB / 376.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006593/0.5046, allocations: 1.584 MB / 378.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.5068, allocations: 201.8 kB / 378.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.5106, allocations: 389.2 kB / 379 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.5125, allocations: 0.7403 MB / 379.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.5155, allocations: 0.72 MB / 380.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.5278, allocations: 5.405 MB / 385.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5279, allocations: 0 / 385.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5279, allocations: 1.062 kB / 385.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.5282, allocations: 0 / 385.9 MB, free: 8.375 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.01897/0.5472, allocations: 3.683 MB / 389.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.438e-05/0.5473, allocations: 12.62 kB / 389.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/0.5552, allocations: 0.8044 MB / 390.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007901/0.5632, allocations: 2.229 MB / 392.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.5637, allocations: 236.2 kB / 392.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/0.5659, allocations: 306.3 kB / 393.1 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.5821, allocations: 4.214 MB / 397.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.5824, allocations: 10.17 kB / 397.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.5837, allocations: 126.2 kB / 397.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/0.584, allocations: 155.6 kB / 397.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.5934, allocations: 3.605 MB / 401.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.6212, allocations: 13.22 MB / 414.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.6295, allocations: 6.921 MB / 421.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.6323, allocations: 1.381 MB / 422.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008332/0.6407, allocations: 3.752 MB / 426.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.6408, allocations: 47.5 kB / 426.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=120): time 4.438e-06/0.6408, allocations: 4 kB / 426.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.01368/0.6545, allocations: 5.478 MB / 432 MB, free: 1.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.6546, allocations: 68.41 kB / 432.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/0.6583, allocations: 1.69 MB / 433.8 MB, free: 196 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.6585, allocations: 49.7 kB / 433.8 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.66, allocations: 1.397 MB / 435.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.6606, allocations: 429.1 kB / 435.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.6607, allocations: 36 kB / 435.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.6609, allocations: 365.9 kB / 436 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.6623, allocations: 0.6481 MB / 436.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.664, allocations: 1.113 MB / 437.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.6655, allocations: 0.8566 MB / 438.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.6655, allocations: 4 kB / 438.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004889/0.6704, allocations: 2.338 MB / 441 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.6705, allocations: 12 kB / 441 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.6705, allocations: 14.52 kB / 441 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.6715, allocations: 279.5 kB / 441.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6729, allocations: 355.5 kB / 441.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.68, allocations: 5.688 MB / 447.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.6825, allocations: 83.86 kB / 447.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.6828, allocations: 68.12 kB / 447.5 MB, free: 1.828 MB / 350.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 (180): * Single equations (assignments): 176 * 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%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003373/0.6862, allocations: 1.005 MB / 448.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/0.6868, allocations: 177.8 kB / 448.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.6914, allocations: 2.139 MB / 450.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.6915, allocations: 15.95 kB / 450.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6915, allocations: 4 kB / 450.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.6915, allocations: 7.969 kB / 450.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.7021, allocations: 4.832 MB / 455.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7022, allocations: 0 / 455.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.703, allocations: 179.9 kB / 455.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.7045, allocations: 447.3 kB / 456.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.7046, allocations: 35.98 kB / 456.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.7172, allocations: 10.08 MB / 466.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.7173, allocations: 10.42 kB / 466.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00615/0.7235, allocations: 3.008 MB / 469.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.725, allocations: 410.7 kB / 469.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.7252, allocations: 31.94 kB / 469.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.7261, allocations: 79.89 kB / 469.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.7264, allocations: 96.84 kB / 470 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.7265, allocations: 39.98 kB / 470 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002519/0.729, allocations: 1.158 MB / 471.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.729, allocations: 4 kB / 471.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00282/0.7319, allocations: 0.5392 MB / 471.7 MB, free: 8.605 MB / 382.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 (86): * Single equations (assignments): 81 * 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%) 5,(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.0004272/0.7323, allocations: 152.5 kB / 471.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.7363, allocations: 2.086 MB / 474 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.7363, allocations: 8.125 kB / 474 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.739, allocations: 1.528 MB / 475.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.7424, allocations: 499.8 kB / 476 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.7543, allocations: 6.618 MB / 482.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/0.7566, allocations: 2.235 MB / 484.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/0.7573, allocations: 131.4 kB / 485 MB, free: 11.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.7573, allocations: 0 / 485 MB, free: 11.16 MB / 398.1 MB Notification: Performance of Templates: time 0.3987/1.156, allocations: 108.6 MB / 0.5797 GB, free: 122.2 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.o] Error 1