Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008639/0.0008639, allocations: 93.03 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 4 kB / 307.3 MB, free: 1.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 51.48 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01312/0.1698, allocations: 9.454 MB / 368.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009031/0.1789, allocations: 3.07 MB / 371.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.1821, allocations: 75.62 kB / 371.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.1843, allocations: 0.5395 MB / 371.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2763/0.4606, allocations: 1.012 MB / 372.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.4622, allocations: 275.6 kB / 373.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009112/0.4713, allocations: 5.334 MB / 378.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005033/0.4764, allocations: 3.075 MB / 381.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.481, allocations: 1.719 MB / 383.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.4858, allocations: 2.217 MB / 385.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007978/0.4866, allocations: 274.4 kB / 385.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4882, allocations: 334.9 kB / 386.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.4898, allocations: 1.194 MB / 387.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.4916, allocations: 0.9413 MB / 388.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008738/0.5004, allocations: 6.82 MB / 395.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5004, allocations: 0 / 395.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5004, allocations: 1.5 kB / 395.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003108/0.5008, allocations: 0 / 395.1 MB, free: 3.508 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.0111/0.5119, allocations: 4.348 MB / 399.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5119, allocations: 9.625 kB / 399.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.5141, allocations: 0.5841 MB / 400.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.5198, allocations: 2.664 MB / 402.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.5201, allocations: 295.2 kB / 403 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009051/0.521, allocations: 388.1 kB / 403.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.5329, allocations: 5.778 MB / 409.2 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.533, allocations: 3.938 kB / 409.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.5334, allocations: 164.3 kB / 409.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.5336, allocations: 208 kB / 409.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009982/0.5436, allocations: 5.001 MB / 414.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/0.5731, allocations: 16.5 MB / 431 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00759/0.5807, allocations: 6.781 MB / 437.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/0.585, allocations: 2.687 MB / 440.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.5854, allocations: 139 kB / 440.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/0.5855, allocations: 56.56 kB / 440.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.648e-06/0.5855, allocations: 4 kB / 440.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02297/0.6085, allocations: 10.71 MB / 451.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.6086, allocations: 77.42 kB / 451.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/0.6134, allocations: 2.616 MB / 454.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000586/0.6141, allocations: 65.7 kB / 454.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.6156, allocations: 1.643 MB / 455.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.6167, allocations: 0.8448 MB / 456.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.6168, allocations: 44 kB / 456.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.6171, allocations: 402.7 kB / 457.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.6194, allocations: 1.34 MB / 458.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.6218, allocations: 1.643 MB / 460.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.6244, allocations: 1.578 MB / 461.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.6244, allocations: 4 kB / 461.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008138/0.6325, allocations: 4.445 MB / 466.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.6326, allocations: 4 kB / 466.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.6326, allocations: 8 kB / 466.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.6381, allocations: 1.651 MB / 467.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.64, allocations: 387.5 kB / 468.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/0.6671, allocations: 23.49 MB / 491.6 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.6703, allocations: 107.8 kB / 491.7 MB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/0.6709, allocations: 76 kB / 491.8 MB, free: 2.828 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.004139/0.675, allocations: 1.407 MB / 493.2 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.6762, allocations: 292.6 kB / 493.5 MB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008621/0.6849, allocations: 4.376 MB / 497.9 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.6849, allocations: 24 kB / 497.9 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.685, allocations: 8 kB / 497.9 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/0.685, allocations: 11.95 kB / 497.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/0.7039, allocations: 8.883 MB / 0.4949 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.704, allocations: 2.406 kB / 0.4949 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.7052, allocations: 299.6 kB / 0.4952 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005197/0.7104, allocations: 1.62 MB / 0.4968 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000331/0.7107, allocations: 59.98 kB / 0.4968 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/0.7375, allocations: 23.22 MB / 0.5195 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.7376, allocations: 8.172 kB / 0.5195 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.7495, allocations: 6.084 MB / 0.5255 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/0.7521, allocations: 0.6732 MB / 0.5261 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008638/0.753, allocations: 56.05 kB / 0.5262 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7546, allocations: 143.9 kB / 0.5263 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.7552, allocations: 213.6 kB / 0.5265 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.7554, allocations: 64 kB / 0.5266 GB, free: 1.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.3668/1.122, allocations: 1.822 MB / 0.5284 GB, free: 138.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.463e-06/1.122, allocations: 0.6562 kB / 0.5284 GB, free: 138.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008588/1.131, allocations: 0.9511 MB / 0.5293 GB, free: 138.4 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.001014/1.132, allocations: 206.4 kB / 0.5295 GB, free: 138.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.143, allocations: 4.844 MB / 0.5342 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.143, allocations: 1.531 kB / 0.5342 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006539/1.149, allocations: 3.352 MB / 0.5375 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005961/1.155, allocations: 0.9198 MB / 0.5384 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.178, allocations: 9.883 MB / 0.548 GB, free: 131.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.183, allocations: 3.095 MB / 0.5511 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.184, allocations: 178.4 kB / 0.5512 GB, free: 130.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/1.184, allocations: 0 / 0.5512 GB, free: 130.1 MB / 446.1 MB Notification: Performance of Templates: time 0.5618/1.746, allocations: 260.7 MB / 0.8058 GB, free: 61.36 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile make -j1 -f Modelica_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1