Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000922/0.0009263, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004336, allocations: 4 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.455/0.6392, allocations: 18.77 MB / 377.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02334/0.6626, allocations: 6.232 MB / 383.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009072/0.6718, allocations: 137.5 kB / 384 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009179/0.681, allocations: 1.174 MB / 385.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.7, allocations: 2.287 MB / 387.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007121/0.7071, allocations: 1.046 MB / 388.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03203/0.7391, allocations: 11.73 MB / 400.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04197/0.7812, allocations: 14.18 MB / 414.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.7941, allocations: 3.489 MB / 417.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.8077, allocations: 3.849 MB / 421.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004362/0.8121, allocations: 0.5195 MB / 422.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009643/0.8218, allocations: 0.8356 MB / 423.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005958/0.8278, allocations: 1.612 MB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0084/0.8362, allocations: 1.662 MB / 426.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02972/0.866, allocations: 15.46 MB / 441.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.8661, allocations: 4 kB / 441.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.8661, allocations: 0 / 441.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007864/0.8669, allocations: 0 / 441.8 MB, free: 9.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.04823/0.9152, allocations: 8.998 MB / 450.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.179e-05/0.9153, allocations: 12.03 kB / 450.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05212/0.9674, allocations: 5.917 MB / 456.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/0.9897, allocations: 5.539 MB / 462.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/0.9908, allocations: 0.558 MB / 462.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006319/0.9972, allocations: 0.7342 MB / 463.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06647/1.064, allocations: 12.8 MB / 476.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007763/1.065, allocations: 15.75 kB / 476.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005784/1.07, allocations: 315.9 kB / 476.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/1.072, allocations: 492.1 kB / 477.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05097/1.123, allocations: 12.52 MB / 489.7 MB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.148/1.271, allocations: 41.94 MB / 0.5192 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4336/1.704, allocations: 26.19 MB / 0.5447 GB, free: 113.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006915/1.711, allocations: 3.221 MB / 0.5479 GB, free: 113.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/1.712, allocations: 248.8 kB / 0.5481 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/1.712, allocations: 77.17 kB / 0.5482 GB, free: 113.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.061e-06/1.712, allocations: 0 / 0.5482 GB, free: 113.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04684/1.759, allocations: 18.55 MB / 0.5663 GB, free: 107.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/1.759, allocations: 94.14 kB / 0.5664 GB, free: 107.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/1.764, allocations: 2.817 MB / 0.5692 GB, free: 106.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006854/1.764, allocations: 92.52 kB / 0.5692 GB, free: 106.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.767, allocations: 3.04 MB / 0.5722 GB, free: 104.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.769, allocations: 1.403 MB / 0.5736 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/1.769, allocations: 103.8 kB / 0.5737 GB, free: 103 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/1.769, allocations: 0.5021 MB / 0.5742 GB, free: 102.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/1.773, allocations: 2.486 MB / 0.5766 GB, free: 101.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/1.777, allocations: 4.093 MB / 0.5806 GB, free: 98.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/1.781, allocations: 3.397 MB / 0.5839 GB, free: 97.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/1.781, allocations: 15.56 kB / 0.5839 GB, free: 97.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01143/1.793, allocations: 7.969 MB / 0.5917 GB, free: 93.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/1.793, allocations: 25.19 kB / 0.5917 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.382e-05/1.793, allocations: 51.31 kB / 0.5918 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/1.795, allocations: 1.199 MB / 0.593 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/1.799, allocations: 1.131 MB / 0.5941 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.811, allocations: 10.32 MB / 0.6041 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/1.815, allocations: 271.7 kB / 0.6044 GB, free: 80.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/1.816, allocations: 236 kB / 0.6046 GB, free: 80.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005872/1.822, allocations: 2.952 MB / 0.6075 GB, free: 77.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.823, allocations: 347.8 kB / 0.6078 GB, free: 77.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.834, allocations: 6.68 MB / 0.6144 GB, free: 70.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.834, allocations: 44 kB / 0.6144 GB, free: 70.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.834, allocations: 11.95 kB / 0.6144 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/1.834, allocations: 19.92 kB / 0.6144 GB, free: 70.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.856, allocations: 15.14 MB / 0.6292 GB, free: 55.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.856, allocations: 11.84 kB / 0.6292 GB, free: 55.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.858, allocations: 0.7574 MB / 0.63 GB, free: 54.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.861, allocations: 1.087 MB / 0.631 GB, free: 53.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002624/1.861, allocations: 95.97 kB / 0.6311 GB, free: 53.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.872, allocations: 9.27 MB / 0.6402 GB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.872, allocations: 8 kB / 0.6402 GB, free: 43.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/1.885, allocations: 9.942 MB / 0.6499 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.888, allocations: 0.9338 MB / 0.6508 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/1.888, allocations: 80 kB / 0.6509 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.89, allocations: 203.8 kB / 0.6511 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006175/1.891, allocations: 303.2 kB / 0.6514 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.891, allocations: 120 kB / 0.6515 GB, free: 31.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003027/1.894, allocations: 1.936 MB / 0.6534 GB, free: 29.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.894, allocations: 3.938 kB / 0.6534 GB, free: 29.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005774/1.9, allocations: 1.397 MB / 0.6547 GB, free: 28.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006768/1.9, allocations: 277 kB / 0.655 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009954/1.91, allocations: 6.679 MB / 0.6615 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.91, allocations: 4 kB / 0.6615 GB, free: 21.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005526/1.916, allocations: 3.534 MB / 0.665 GB, free: 18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/1.92, allocations: 0.8072 MB / 0.6658 GB, free: 17.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/1.945, allocations: 16.56 MB / 0.6819 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006012/1.951, allocations: 4.951 MB / 0.6868 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.953, allocations: 343.4 kB / 0.6871 GB, free: 11.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/1.953, allocations: 0 / 0.6871 GB, free: 11.21 MB / 462.1 MB Notification: Performance of Templates: time 0.582/2.535, allocations: 174.1 MB / 0.8571 GB, free: 31.05 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InverterCalcHelperMain.o] Error 1