Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008878, allocations: 94.3 kB / 16.96 MB, free: 6.406 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.0009244/0.0009247, allocations: 179.5 kB / 17.84 MB, free: 5.969 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.622/1.622, allocations: 223.2 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 4 kB / 301.5 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 50.41 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01142/0.1487, allocations: 9.436 MB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00809/0.1568, allocations: 3.043 MB / 364.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.1593, allocations: 79.62 kB / 364.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1615, allocations: 0.5356 MB / 365 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.1665, allocations: 1.022 MB / 366 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.1682, allocations: 275.7 kB / 366.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.1792, allocations: 5.327 MB / 371.6 MB, free: 0 / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2567/0.436, allocations: 3.065 MB / 374.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.4399, allocations: 1.716 MB / 376.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005064/0.445, allocations: 2.217 MB / 378.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.4461, allocations: 270.8 kB / 378.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.448, allocations: 323.8 kB / 379.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.4496, allocations: 1.195 MB / 380.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.4518, allocations: 0.9358 MB / 381.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.4606, allocations: 6.826 MB / 388.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4607, allocations: 3.656 kB / 388.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4607, allocations: 0 / 388.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002748/0.461, allocations: 0 / 388.1 MB, free: 6.504 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01427/0.4753, allocations: 4.35 MB / 392.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4753, allocations: 7.594 kB / 392.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.4791, allocations: 0.5451 MB / 393 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006864/0.486, allocations: 2.662 MB / 395.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.4862, allocations: 298.8 kB / 396 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009423/0.4872, allocations: 387.5 kB / 396.4 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.4977, allocations: 5.781 MB / 402.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/0.4978, allocations: 3.281 kB / 402.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.4982, allocations: 167.7 kB / 402.3 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.4983, allocations: 204 kB / 402.5 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.5088, allocations: 5.008 MB / 407.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05/0.5589, allocations: 16.49 MB / 424 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.5707, allocations: 6.808 MB / 430.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006524/0.5773, allocations: 2.676 MB / 433.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.5779, allocations: 135.1 kB / 433.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.578, allocations: 60.56 kB / 433.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 7.304e-06/0.578, allocations: 0 / 433.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.03829/0.6163, allocations: 10.72 MB / 444.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6165, allocations: 81.42 kB / 444.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009429/0.6259, allocations: 2.601 MB / 447.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009009/0.6269, allocations: 69.7 kB / 447.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.6292, allocations: 1.648 MB / 448.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002008/0.6312, allocations: 0.8335 MB / 449.6 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/0.6319, allocations: 52 kB / 449.7 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004429/0.6324, allocations: 410.7 kB / 450.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/0.6359, allocations: 1.332 MB / 451.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003788/0.6398, allocations: 1.647 MB / 453.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/0.6438, allocations: 1.569 MB / 454.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.6438, allocations: 4 kB / 454.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01098/0.6548, allocations: 4.441 MB / 459.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.6549, allocations: 14.5 kB / 459.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.6549, allocations: 7.984 kB / 459.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.6609, allocations: 1.643 MB / 460.7 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.6629, allocations: 399.5 kB / 461.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03006/0.693, allocations: 23.46 MB / 484.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.6963, allocations: 104 kB / 484.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.6967, allocations: 75.98 kB / 484.8 MB, free: 11.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0043/0.701, allocations: 1.407 MB / 486.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.7022, allocations: 300.5 kB / 486.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009346/0.7115, allocations: 4.369 MB / 490.8 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.7116, allocations: 28 kB / 490.9 MB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.7116, allocations: 10.19 kB / 490.9 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.7117, allocations: 15.91 kB / 490.9 MB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.7299, allocations: 8.894 MB / 499.8 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.73, allocations: 7.922 kB / 499.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.7312, allocations: 287.7 kB / 0.4883 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/0.7364, allocations: 1.621 MB / 0.4899 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/0.7367, allocations: 59.92 kB / 0.49 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/0.764, allocations: 23.23 MB / 0.5127 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7641, allocations: 0 / 0.5127 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.7759, allocations: 6.082 MB / 0.5186 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/0.779, allocations: 0.6809 MB / 0.5193 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005899/0.7796, allocations: 55.98 kB / 0.5193 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.781, allocations: 131.9 kB / 0.5194 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/0.7816, allocations: 208.3 kB / 0.5196 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/0.7818, allocations: 67.98 kB / 0.5197 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003517/0.7853, allocations: 1.833 MB / 0.5215 GB, free: 8.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7853, allocations: 0 / 0.5215 GB, free: 8.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005861/0.7912, allocations: 0.9516 MB / 0.5224 GB, free: 7.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008206/0.792, allocations: 223.2 kB / 0.5226 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008697/0.8007, allocations: 4.848 MB / 0.5274 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.8008, allocations: 0 / 0.5274 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2926/1.093, allocations: 3.338 MB / 0.5306 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/1.1, allocations: 0.924 MB / 0.5315 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/1.121, allocations: 9.881 MB / 0.5412 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/1.126, allocations: 3.102 MB / 0.5442 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.127, allocations: 174.3 kB / 0.5444 GB, free: 141 MB / 446.1 MB Notification: Performance of SimCode: time 1.844e-06/1.127, allocations: 0 / 0.5444 GB, free: 141 MB / 446.1 MB Notification: Performance of Templates: time 0.5029/1.63, allocations: 260.7 MB / 0.799 GB, free: 51.23 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1