Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00277/0.00277, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.1 MB / 224.6 MB, free: 12.38 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 43.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 46.63 MB / 327.2 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009635/0.1496, allocations: 6.805 MB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.1556, allocations: 2.311 MB / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1573, allocations: 35.81 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.1587, allocations: 389.8 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1611, allocations: 0.618 MB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.1618, allocations: 251.8 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00462/0.1665, allocations: 3.284 MB / 340.9 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.1694, allocations: 2.039 MB / 343 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.1735, allocations: 1.11 MB / 344.1 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.1769, allocations: 1.463 MB / 345.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.1774, allocations: 215.9 kB / 345.8 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1784, allocations: 311.8 kB / 346.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008306/0.1793, allocations: 0.7554 MB / 346.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.1812, allocations: 1.369 MB / 348.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.185, allocations: 3.835 MB / 352 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.185, allocations: 0 / 352 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.185, allocations: 0 / 352 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.992e-05/0.1851, allocations: 0 / 352 MB, free: 11.97 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006465/0.1916, allocations: 2.952 MB / 355 MB, free: 8.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.1917, allocations: 8.031 kB / 355 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008615/0.1925, allocations: 309.6 kB / 355.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.1951, allocations: 1.507 MB / 356.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1953, allocations: 164.4 kB / 356.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.1956, allocations: 212 kB / 357.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/0.2015, allocations: 3.178 MB / 360.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.2016, allocations: 4 kB / 360.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.2018, allocations: 91.94 kB / 360.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.202, allocations: 108.4 kB / 360.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/0.207, allocations: 2.727 MB / 363.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.2235, allocations: 8.896 MB / 372.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.2278, allocations: 3.382 MB / 375.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.2298, allocations: 1.327 MB / 376.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.2302, allocations: 118.4 kB / 377 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.2302, allocations: 55.73 kB / 377 MB, free: 2.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.801e-06/0.2302, allocations: 4 kB / 377 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.3457/0.5759, allocations: 5.624 MB / 382.7 MB, free: 51.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.576, allocations: 71.91 kB / 382.7 MB, free: 51.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.5794, allocations: 1.489 MB / 384.2 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.5797, allocations: 49.5 kB / 384.3 MB, free: 50.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009667/0.5806, allocations: 0.9356 MB / 385.2 MB, free: 49.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.5812, allocations: 443.5 kB / 385.6 MB, free: 49.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.5817, allocations: 227.6 kB / 385.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.5819, allocations: 359.6 kB / 386.2 MB, free: 48.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.5834, allocations: 0.6896 MB / 386.9 MB, free: 48.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.5849, allocations: 0.8671 MB / 387.8 MB, free: 48.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.5876, allocations: 1.614 MB / 389.4 MB, free: 47.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.5876, allocations: 4.625 kB / 389.4 MB, free: 47.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005835/0.5935, allocations: 2.309 MB / 391.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.5936, allocations: 6.281 kB / 391.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.5936, allocations: 3.375 kB / 391.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/0.5967, allocations: 0.8221 MB / 392.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.5975, allocations: 212.2 kB / 392.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.61, allocations: 10.51 MB / 403.2 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.6119, allocations: 59.05 kB / 403.3 MB, free: 38.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6121, allocations: 39.83 kB / 403.3 MB, free: 38.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.6142, allocations: 0.8223 MB / 404.2 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/0.6149, allocations: 165.2 kB / 404.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.6194, allocations: 2.269 MB / 406.6 MB, free: 36.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.6194, allocations: 12 kB / 406.6 MB, free: 36.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.6194, allocations: 4 kB / 406.6 MB, free: 36.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.6195, allocations: 11.97 kB / 406.6 MB, free: 36.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/0.628, allocations: 4.743 MB / 411.4 MB, free: 31.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.6281, allocations: 0 / 411.4 MB, free: 31.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.6287, allocations: 159.7 kB / 411.5 MB, free: 31.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.6311, allocations: 0.8106 MB / 412.3 MB, free: 30.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.6313, allocations: 31.98 kB / 412.4 MB, free: 30.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009492/0.6408, allocations: 10.4 MB / 422.8 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6408, allocations: 3.938 kB / 422.8 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.6458, allocations: 3.241 MB / 426 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.647, allocations: 407.1 kB / 426.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.6473, allocations: 24 kB / 426.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.648, allocations: 71.94 kB / 426.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/0.6484, allocations: 109.1 kB / 426.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.6485, allocations: 36 kB / 426.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.6499, allocations: 1.06 MB / 427.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6499, allocations: 0 / 427.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002361/0.6523, allocations: 0.5143 MB / 428.2 MB, free: 13.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006132/0.6529, allocations: 207.3 kB / 428.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.6564, allocations: 2.384 MB / 430.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.6564, allocations: 0 / 430.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.6587, allocations: 1.631 MB / 432.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.6612, allocations: 497.5 kB / 432.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.6698, allocations: 5.593 MB / 438.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.6713, allocations: 1.995 MB / 440.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.6718, allocations: 95.44 kB / 440.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6719, allocations: 0 / 440.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of Templates: time 0.1092/0.781, allocations: 75.45 MB / 0.5039 GB, free: 5.605 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1