Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.00113/0.001131, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.001308/0.001308, allocations: 179.2 kB / 17.84 MB, free: 6 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.59/1.59, allocations: 223.2 MB / 241.8 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004, allocations: 8 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009163/0.1719, allocations: 6.019 MB / 357.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006678/0.1787, allocations: 2.147 MB / 360 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.181, allocations: 43.81 kB / 360.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.1826, allocations: 345.9 kB / 360.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.1854, allocations: 0.5945 MB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.186, allocations: 163.8 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005341/0.1914, allocations: 2.926 MB / 364.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004118/0.1955, allocations: 1.693 MB / 365.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.1991, allocations: 0.9534 MB / 366.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003643/0.2028, allocations: 1.226 MB / 368 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005023/0.2033, allocations: 148 kB / 368.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2046, allocations: 211.9 kB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008874/0.2055, allocations: 0.6502 MB / 369 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2066, allocations: 0.5277 MB / 369.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.332/0.5386, allocations: 3.734 MB / 373.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5387, allocations: 1.281 kB / 373.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5387, allocations: 0 / 373.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.5389, allocations: 1.969 kB / 373.2 MB, free: 12.68 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.007798/0.5467, allocations: 2.554 MB / 375.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5467, allocations: 9.219 kB / 375.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.5484, allocations: 307.5 kB / 376.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.552, allocations: 1.534 MB / 377.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.5522, allocations: 163.3 kB / 377.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.5526, allocations: 212.9 kB / 378 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00718/0.5598, allocations: 3.178 MB / 381.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.5599, allocations: 3.562 kB / 381.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.5601, allocations: 90.94 kB / 381.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.5603, allocations: 111.2 kB / 381.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.5657, allocations: 2.725 MB / 384.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.582, allocations: 8.946 MB / 393.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.5857, allocations: 3.374 MB / 396.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.5876, allocations: 1.358 MB / 397.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.5879, allocations: 122.3 kB / 397.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5879, allocations: 47.81 kB / 398 MB, free: 2.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.877e-06/0.588, allocations: 0 / 398 MB, free: 2.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01176/0.5997, allocations: 5.791 MB / 403.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.5998, allocations: 64.72 kB / 403.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/0.6035, allocations: 1.478 MB / 405.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.6037, allocations: 53.7 kB / 405.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.6048, allocations: 0.9394 MB / 406.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007462/0.6055, allocations: 442 kB / 406.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6057, allocations: 28 kB / 406.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0005236/0.6062, allocations: 353.9 kB / 407.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.6077, allocations: 0.6974 MB / 407.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6091, allocations: 0.8656 MB / 408.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.6107, allocations: 0.8132 MB / 409.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6108, allocations: 0 / 409.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005241/0.616, allocations: 2.313 MB / 411.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.6161, allocations: 6.969 kB / 411.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6161, allocations: 4 kB / 411.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.6192, allocations: 0.8248 MB / 412.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.6201, allocations: 207.2 kB / 412.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.635, allocations: 10.52 MB / 423.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6366, allocations: 51.95 kB / 423.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.6369, allocations: 40 kB / 423.4 MB, free: 10.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * 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 initialization (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002153/0.6391, allocations: 0.8209 MB / 424.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/0.6398, allocations: 158.1 kB / 424.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.6446, allocations: 2.266 MB / 426.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.6447, allocations: 12 kB / 426.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.6447, allocations: 4 kB / 426.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.6447, allocations: 11.92 kB / 426.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.6549, allocations: 4.762 MB / 431.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.655, allocations: 4.062 kB / 431.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.6557, allocations: 163.3 kB / 431.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.6583, allocations: 0.81 MB / 432.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.6584, allocations: 31.98 kB / 432.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.6721, allocations: 10.4 MB / 442.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6722, allocations: 4.031 kB / 442.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00658/0.6787, allocations: 3.226 MB / 446.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.6801, allocations: 415.1 kB / 446.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005777/0.6807, allocations: 32 kB / 446.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6819, allocations: 71.84 kB / 446.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/0.6822, allocations: 120 kB / 446.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.6824, allocations: 32 kB / 446.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.6846, allocations: 1.049 MB / 447.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6846, allocations: 0 / 447.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002942/0.6876, allocations: 0.5117 MB / 448.3 MB, free: 0.6914 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006353/0.6882, allocations: 179.5 kB / 448.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.6928, allocations: 2.396 MB / 450.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6928, allocations: 0 / 450.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.6956, allocations: 1.63 MB / 452.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.699, allocations: 498.7 kB / 453 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.7108, allocations: 5.456 MB / 458.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/0.7136, allocations: 1.987 MB / 460.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.7142, allocations: 91.44 kB / 460.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7142, allocations: 0 / 460.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of Templates: time 0.1005/0.8148, allocations: 75.11 MB / 0.5231 GB, free: 9.34 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1